Shopware has user enumeration via distinct error codes on Store API login endpoint
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
shopware/platformPackagist | >= 6.7.0.0, < 6.7.8.1 | 6.7.8.1 |
shopware/platformPackagist | < 6.6.10.14 | 6.6.10.14 |
shopware/corePackagist | >= 6.7.0.0, < 6.7.8.1 | 6.7.8.1 |
shopware/corePackagist | < 6.6.10.15 | 6.6.10.15 |
Affected products
4- ghsa-coords2 versions
>= 6.7.0.0, < 6.7.8.1+ 1 more
- (no CPE)range: >= 6.7.0.0, < 6.7.8.1
- (no CPE)range: >= 6.7.0.0, < 6.7.8.1
- shopware/corev5Range: >= 6.7.0.0, < 6.7.8.1
- shopware/platformv5Range: >= 6.7.0.0, < 6.7.8.1
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-gqc5-xv7m-gcjqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-31888ghsaADVISORY
- github.com/shopware/shopware/security/advisories/GHSA-gqc5-xv7m-gcjqghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.