Vulnerability · Published Mar 11, 2026 · Assigned by GitHub_M
CVE-2026-31888Shopware has user enumeration via distinct error codes on Store API login endpoint
Medium 5.3
In plain English
A medium-severity security flaw in core from shopware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | shopware/core | 6.7.8.1 | GHSA-gqc5-xv7m-gcjq |
| Packagist | shopware/core | 6.6.10.15 | GHSA-gqc5-xv7m-gcjq |
| Packagist | shopware/platform | 6.7.8.1 | GHSA-gqc5-xv7m-gcjq |
| Packagist | shopware/platform | 6.6.10.14 | GHSA-gqc5-xv7m-gcjq |
Affected products (as reported)
Weakness: CWE-204 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/shopware/shopware/security/advisories/GHSA-gqc5-xv7m-gcjq x_refsource_CONFIRM