CVE-2026-31888 Details
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.
A user enumeration vulnerability has been identified in the Shopware Store API login endpoint, specifically in versions prior to 6.7.8.1 and 6.6.10.15. The issue arises because the endpoint returns different error codes based on whether the submitted email address belongs to a registered customer or is unknown. This discrepancy allows an unauthenticated attacker to enumerate valid customer accounts by probing email addresses. While the storefront login controller handles errors uniformly, the Store API exposes distinct error codes, creating an inconsistent defense that can be exploited.
To address this vulnerability, it is recommended to unify error handling in the Store API login route by catching distinct exceptions and returning a generic error response, similar to the existing storefront login controller. Additionally, the registration endpoint should be updated to prevent email existence leakage by returning a generic success response and notifying the user via email.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/shopware/shopware/security/advisories/GHSA-gqc5-xv7m-gcjq | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-204 | Observable Response Discrepancy | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| shopware shopware | < 6.6.10.15 >= 6.7.0.0, < 6.7.8.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 16, 2026 | Initial Analysis | [email protected] |
| Mar 11, 2026 | New CVE Received | [email protected] |