CVE-2026-31888 Shopware has user enumeration via distinct error codes on Store API login endpoint

Medium 5.3 Published Updated

Unauthenticated attackers can enumerate valid customer accounts via distinct error codes in the Store API login endpoint.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31888?

CVE-2026-31888 is a medium-severity vulnerability in Shopware Shopware, published on 11 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Shopware is an open commerce platform. Prior to 6.7.8.1 and 6.6.10.15, the Store API login endpoint (POST /store-api/account/login) returns different error codes depending on whether the submitted email address belongs to a registered customer (CHECKOUT__CUSTOMER_AUTH_BAD_CREDENTIALS) or is unknown (CHECKOUT__CUSTOMER_NOT_FOUND). The "not found" response also echoes the probed email address. This allows an unauthenticated attacker to enumerate valid customer accounts. The storefront login controller correctly unifies both error paths, but the Store API does not — indicating an inconsistent defense. This vulnerability is fixed in 6.7.8.1 and 6.6.10.15.

Weakness: CWE-204

Which versions are affected by CVE-2026-31888?

8 open source packages ship an affected version, including shopware/core and shopware/platform. It affects 1 product.

PackageAffectedFixed in
shopware/core PackagistAll versions6.6.10.15
shopware/core PackagistAll versions6.6.10.15
shopware/core PackagistFrom 6.7.0.06.7.8.1
shopware/core PackagistFrom 6.7.0.06.7.8.1
shopware/platform PackagistAll versions6.6.10.14
shopware/platform PackagistAll versions6.6.10.14
2 more packages
shopware/platform PackagistFrom 6.7.0.06.7.8.1
shopware/platform PackagistFrom 6.7.0.06.7.8.1

Products include Shopware Shopware.

How do I fix CVE-2026-31888?

Upgrade shopware/core to a fixed version for your release line: 6.6.10.15 or 6.7.8.1.

Is CVE-2026-31888 being exploited?

There is no known exploitation of CVE-2026-31888 in the wild and no public exploit code.

All Shopware Shopware vulnerabilities

Sources

Also known as GHSA-gqc5-xv7m-gcjq.

Is CVE-2026-31888 in your software?

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

Check your SBOMs for free