CVE-2026-31888 Shopware has user enumeration via distinct error codes on Store API login endpoint
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.
| Package | Affected | Fixed in |
|---|---|---|
shopware/core Packagist | All versions | 6.6.10.15 |
shopware/core Packagist | All versions | 6.6.10.15 |
shopware/core Packagist | From 6.7.0.0 | 6.7.8.1 |
shopware/core Packagist | From 6.7.0.0 | 6.7.8.1 |
shopware/platform Packagist | All versions | 6.6.10.14 |
shopware/platform Packagist | All versions | 6.6.10.14 |
2 more packages
shopware/platform Packagist | From 6.7.0.0 | 6.7.8.1 |
shopware/platform Packagist | From 6.7.0.0 | 6.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.
Other vulnerabilities in Shopware Shopware
- CVE-2023-22731 Improper Control of Generation of Code in Twig rendered views in shopware
- CVE-2016-3109 Shopware RCE Vulnerability
- CVE-2024-22406 Blind SQL-injection in DAL aggregations in Shopware
- CVE-2021-32711 Leak of information via Store-API
- CVE-2026-31887 Shopware unauthenticated data extraction possible through store-api.order endpoint
Sources
Also known as GHSA-gqc5-xv7m-gcjq.