CVE-2026-31820 Sylius affected by IDOR in Cart and Checkout LiveComponents

High 7.1 Published Updated

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.

PackageAffectedFixed in
sylius/sylius PackagistFrom 2.0.02.0.16
sylius/sylius PackagistFrom 2.0.02.0.16
sylius/sylius PackagistFrom 2.1.02.1.12
sylius/sylius PackagistFrom 2.1.02.1.12
sylius/sylius PackagistFrom 2.2.02.2.3
sylius/sylius PackagistFrom 2.2.02.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.

Sources

Also known as GHSA-2xc6-348p-c2x6.

Is CVE-2026-31820 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free