Shopware 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-31888
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:51 UTC · Revision 1
Source evidence
Shopware has user enumeration via distinct error codes on Store API login endpoint
core-osv · Original sourcePublished 11 Mar 2026, 18:53 UTC
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.
osv:CVE-2026-31888
Complete source record
{
"id": "5470595e4d1f2f9f287bd48997e57020db7eed1dec6e1d56f1a52f90b5d21320",
"url": "https://osv.dev/vulnerability/CVE-2026-31888",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Shopware has user enumeration via distinct error codes on Store API login endpoint",
"summary": "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.",
"evidence": "osv:CVE-2026-31888",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-31888",
"aliases": [
"CVE-2026-31888",
"GHSA-gqc5-xv7m-gcjq"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/shopware/shopware",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "31c6861bf4c483968db1f5b3b568cd3a26ec9069"
},
{
"introduced": "aabbca9f57a4ecb38653b302704e69bcbdc6035c"
},
{
"fixed": "71769446b2a54a8ab1d0a910fe7ed468ea6bd52b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.6.10.15"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.7.0.0"
},
{
"fixed": "6.7.8.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v6.7.8.0",
"v6.6.10.14",
"v6.6.10.13",
"v6.6.10.12",
"v6.6.10.8",
"v6.6.10.6",
"v6.6.10.5",
"v6.6.10.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31888.json"
}
}
],
"modified": "2026-10-28T02:30:24.136936299Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31888.json",
"https://github.com/shopware/shopware/security/advisories/GHSA-gqc5-xv7m-gcjq",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31888"
],
"provider_metadata": {
"cwe_ids": [
"CWE-204"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31888.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31888",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490380,
"published_at": "2026-03-11T18:53:03.018+00:00"
}