Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopware/platform
  4. ›
  5. CVE-2026-31888

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

March 11, 2026

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.

References

  • github.com/advisories/GHSA-gqc5-xv7m-gcjq
  • github.com/shopware/shopware
  • github.com/shopware/shopware/security/advisories/GHSA-gqc5-xv7m-gcjq
  • nvd.nist.gov/vuln/detail/CVE-2026-31888

Code Behaviors & Features

Detect and mitigate CVE-2026-31888 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.7.0.0 before 6.7.8.1, all versions before 6.6.10.14

Fixed versions

  • 6.7.8.1
  • 6.6.10.14

Solution

Upgrade to versions 6.6.10.14, 6.7.8.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-204: Observable Response Discrepancy

Source file

packagist/shopware/platform/CVE-2026-31888.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:17:20 +0000.