CVE-2026-31888
MEDIUM 5.3CVSS 3.1Shopware has user enumeration via distinct error codes on Store API login endpoint
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.
- Published
- 11 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-204
- Also known as
- GHSA-gqc5-xv7m-gcjq
- Sources
- NVDJSONOSV GHSA-gqc5-xv7m-gcjqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | shopware | shopwarecpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:* |
< 6.6.10.15 | 6.6.10.15 |
| NVD | shopware | shopwarecpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:* |
>= 6.7.0.0, < 6.7.8.1 | 6.7.8.1 |
| OSV | Packagist | shopware/platform | >= 6.7.0.0, < 6.7.8.1 | 6.7.8.1 |
| OSV | Packagist | shopware/platform | < 6.6.10.14 | 6.6.10.14 |
| OSV | Packagist | shopware/core | >= 6.7.0.0, < 6.7.8.1 | 6.7.8.1 |
| OSV | Packagist | shopware/core | < 6.6.10.15 | 6.6.10.15 |
References
- https://github.com/shopware/shopware/security/advisories/GHSA-gqc5-xv7m-gcjq · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31888 · ADVISORY
- https://github.com/shopware/shopware · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 11 Mar 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Mar 2026)