All vulnerabilities

Servers and applications

CVE-2026-31888

User enumeration via distinct error codes on Store API login endpoint

Severity
Medium 5.3
Published
11 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
6.6.10.14, 6.6.10.15, 6.7.8.1
Exploit chance
0.3% in the next 30 daysHigher than 17% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Response discrepancy (CWE-204)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Also known as
GHSA-gqc5-xv7m-gcjq
Sources
NVD, Project advisories (GitHub)

Description

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 (CHECKOUTCUSTOMER_AUTH_BAD_CREDENTIALS) or is unknown (CHECKOUTCUSTOMER_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.

The storefront login controller demonstrates that Shopware's developers are aware of this risk class. AuthController::login() catches both exceptions together and returns a generic error:

The Store API LoginRoute::login() does NOT catch these exceptions. They propagate to the global ErrorResponseFactory, which serializes the distinct error codes into the JSON response:

This inconsistency confirms the Store API exposure is an oversight, not a design decision.

From shopware/shopware's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
ShopwareServers and applications · cpe:a:shopware:shopware
  • Every version before 6.6.10.15
  • From 6.7.0.0 before 6.7.8.1
ShopwareServers and applications · github:shopware/shopware
  • Every version before 6.6.10.14
  • Every version before 6.6.10.15

About Shopware

open-source e-commerce platform

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
291,680Packagist, 15 Nov 2026
Total downloads (Packagist)
6,581,000Packagist, 15 Nov 2026
GitHub stars
3,471GitHub, 15 Nov 2026
Forks
1,226GitHub, 15 Nov 2026
Latest release
v6.7.16.0GitHub, 15 Nov 2026
Released
2 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
3 May 2018GitHub

Release lines

ReleaseLatestSecurity fixes
6.76.7.16.0Until 28 Feb 2028
6.66.6.10.31Until 28 Feb 2028
6.56.5.8.19Until 28 Feb 2027
5.75.7.20Ended 31 Jul 2024
6.46.4.20.2Ended 14 May 2025
6.36.3.5.4Ended

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-31888
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-31888
  • GitHub Advisory Database https://github.com/advisories/GHSA-gqc5-xv7m-gcjq
  • github.com https://github.com/shopware/shopware/security/advisories/GHSA-gqc5-xv7m-gcjq