CVE-2026-31888

Shopware has user enumeration via distinct error codes on Store API login endpoint

State
Published
Severity
5.3 Medium
Published
Mar 11, 2026
Updated
Mar 12, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-204 Observable Response Discrepancy

Affected Products

ProductVersions
coreshopware
  • >= 6.7.0.0, < 6.7.8.1Affected
  • < 6.6.10.15Affected
platformshopware
  • >= 6.7.0.0, < 6.7.8.1Affected
  • < 6.6.10.14Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.