CVE-2026-115453
Last modified
CVE-2026-115453 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. Authorization Bypass Through User-Controlled Key (CWE-639) in the cart and wishlist repositories of MarcosCamara01 Ecommerce Template allows any authenticated user to delete and modify the cart and wishlist rows of any other user, because cartRepository.delete(), cartRepository.updateQuantityInternal() and wishlistRepository.delete() in src/lib/db/drizzle/repositories/ match rows by primary key alone, with no predicate on the owning user, and the per user authorization for those three operations rests on PostgreSQL row level security. The migrations run ALTER TABLE ...
Description
Authorization Bypass Through User-Controlled Key (CWE-639) in the cart and wishlist repositories of MarcosCamara01 Ecommerce Template allows any authenticated user to delete and modify the cart and wishlist rows of any other user, because cartRepository.delete(), cartRepository.updateQuantityInternal() and wishlistRepository.delete() in src/lib/db/drizzle/repositories/ match rows by primary key alone, with no predicate on the owning user, and the per user authorization for those three operations rests on PostgreSQL row level security. The migrations run ALTER TABLE ... ENABLE ROW LEVEL SECURITY and create policies comparing app.current_user_id() with user_id, but never ALTER TABLE ... FORCE ROW LEVEL SECURITY, and PostgreSQL does not apply policies to the role that owns a table. The template uses one DATABASE_URL both to run the migrations, which create the tables, and for the application at runtime, so the application connects as the owner of the tables and the policies do not apply to it. cart_items.id and wishlist.id are sequential bigserial values, so the identifiers of rows belonging to other users can be enumerated, and the update path returns the modified row, which carries the identifier of the user it belongs to. This results in the destruction and modification of cart and wishlist contents belonging to other accounts of the installation.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MarcosCamara01 | Ecommerce Template | >= b139a11c7bfab82b9c54c738b9a5d6015b439972, < adf7dedbb41894c0bad0b33a26999b0da7e967b7 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-115453?
How severe is CVE-2026-115453?
How do I fix CVE-2026-115453?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-115400crawlseo before version 0.2.5 contains a cleartext storage v…4.4
- CVE-2026-11541IBM CICS Transaction Gateway for Multiplatforms 9.1, 9.2, 9.…9.8
- CVE-2026-115411crawlseo before version 0.2.4 contains a server-side request…5
- CVE-2026-115416Incorrect authorization checks in Amazon Athena engine versi…7.7
- CVE-2026-11545IBM WebSphere Application Server 8.5 and 9.0 could allow a r…3.7
- CVE-2026-115450External Control of Assumed-Immutable Web Parameter (CWE-472…7.1
- CVE-2026-115454An excessive resource allocation issue in the remote workflo…5.3
- CVE-2026-11546IBM WebSphere Application Server - Liberty 17.0.0.3 through …9.8
- CVE-2026-11548IBM WebSphere Application Server and WebSphere Application S…4.8
- CVE-2026-115482In lsquic before 4.9.0, the HTTP/3 implementation can use an…7.5
- CVE-2026-11549IBM WebSphere Application Server and WebSphere Application S…6.5
- CVE-2026-115494A flaw in the cross-site request forgery (CSRF) prevention o…5.3
Are you affected by CVE-2026-115453?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
