CVE-2026-31820 Sylius affected by IDOR in Cart and Checkout LiveComponents
Authenticated attackers can access other users' cart and order details by manipulating resource IDs in Sylius LiveComponents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-31820?
CVE-2026-31820 is a high-severity missing authorization vulnerability in Sylius, published on 10 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Sylius is an Open Source eCommerce Framework on Symfony. An authenticated Insecure Direct Object Reference (IDOR) vulnerability exists in multiple shop LiveComponents due to unvalidated resource IDs accepted via #[LiveArg] parameters. Unlike props, which are protected by LiveComponent's @checksum, args are fully user-controlled - any action that accepts a resource ID via #[LiveArg] and loads it with ->find() without ownership validation is vulnerable. Checkout address FormComponent (addressFieldUpdated action): Accepts an addressId via #[LiveArg] and loads it without verifying ownership, exposing another user's first name, last name, company, phone number, street, city, postcode, and country. Cart WidgetComponent (refreshCart action): Accepts a cartId via #[LiveArg] and loads any order directly from the repository, exposing order total and item count. Cart SummaryComponent (refreshCart action): Accepts a cartId via #[LiveArg] and loads any order directly from the repository, exposing subtotal, discount, shipping cost, taxes (excluded and included), and order total. Since sylius_order contains both active carts (state=cart) and completed orders (state=new/fulfilled) in the same ID space, the cart IDOR exposes data from all orders, not just active carts. The issue is fixed in versions: 2.0.16, 2.1.12, 2.2.3 and above.
Weakness: CWE-639
Which versions are affected by CVE-2026-31820?
6 open source packages ship an affected version, including sylius/sylius. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sylius/sylius Packagist | From 2.0.0 | 2.0.16 |
sylius/sylius Packagist | From 2.0.0 | 2.0.16 |
sylius/sylius Packagist | From 2.1.0 | 2.1.12 |
sylius/sylius Packagist | From 2.1.0 | 2.1.12 |
sylius/sylius Packagist | From 2.2.0 | 2.2.3 |
sylius/sylius Packagist | From 2.2.0 | 2.2.3 |
Products include Sylius Sylius.
How do I fix CVE-2026-31820?
Upgrade sylius/sylius to a fixed version for your release line: 2.0.16, 2.1.12 or 2.2.3.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-31820 being exploited?
There is no known exploitation of CVE-2026-31820 in the wild and no public exploit code.
Other vulnerabilities in Sylius
- CVE-2026-31824 Sylius has a Promotion Usage Limit Bypass via Race Condition
- CVE-2024-57610 Denial of service in n/a
- CVE-2022-24743 Insufficient Session Expiration in Sylius
- CVE-2026-31819 Sylius has an Open Redirect via Referer Header
- CVE-2026-31821 Sylius is Missing Authorization in API v2 Add Item Endpoint
Sources
Also known as GHSA-2xc6-348p-c2x6.