CVE-2026-31887: Shopware Unauthenticated Data Extraction Possible Through Vulnerability

HIGH
Advisory Identifier: GHSA-7vvp-j573-5584
CWE-863
Published
Advisory Summary

CVE-2026-31887 is a HIGH unauthenticated data extraction possible through vulnerability (CWE-863: Incorrect Authorization) affecting Shopware libraries in the Packagist ecosystem. The issue involves unauthenticated data extraction possible through store-api.order endpoint. Remediation is available by upgrading affected packages to version 6.7.8.1, 6.6.10.15.

CVE-2026-31887 at a Glance

CVE Identifier CVE-2026-31887
GHSA Identifier GHSA-7vvp-j573-5584
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-863: Incorrect Authorization
Affected Product Shopware
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2026-31887

To remediate this vulnerability, upgrade all affected Shopware dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

shopware/core fixed: 6.7.8.1
Upgrade shopware/core to 6.7.8.1
shopware/core fixed: 6.6.10.15
Upgrade shopware/core to 6.6.10.15
shopware/platform fixed: 6.7.8.1
Upgrade shopware/platform to 6.7.8.1
shopware/platform fixed: 6.6.10.15
Upgrade shopware/platform to 6.6.10.15
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for shopware/core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-31887, inspect your project dependencies for Shopware:

inspect dependencies for shopware/core

Analyze the terminal output to locate any version of Shopware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.7.8.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Shopware, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary An insufficient check on the filter types for unauthenticated customers allows access to orders of other customers. This is part of the `deepLinkCode` support on the `store-api.order` endpoint. ### Details #### Data Exposure Depending on the order payload configuration, attackers may retrieve: - Customer names - Billing address - Shipping address - Email addresses - Ordered products - Order values - Order numbers - Order dates - Payment method information - Shipping method information - More customs, depending on the given associations in the request #### Security Impact This vulnerability allows: - Unauthorized access to foreign customer order data - Mass enumeration of recent orders - Potential scraping of customer personal information #### Limitation No limitation, but only orders from the past 30 days are checked for changeable means of payment (unrelated). ### Impact The code is present since ~2021. Likely every version since then is impacted for every store.

CVE-2026-31887 Affected Shopware Versions

4 component(s)
Fixed Versions:
6.7.8.16.6.10.15
Product / Package Ecosystem Affected Versions Fixed Version
shopware/core
Packagist
≥ 6.7.0.0
< 6.7.8.1
6.7.8.1
shopware/core
Packagist
< 6.6.10.15
6.6.10.15
shopware/platform
Packagist
≥ 6.7.0.0
< 6.7.8.1
6.7.8.1
shopware/platform
Packagist
< 6.6.10.15
6.6.10.15

References

Frequently Asked Questions

What is CVE-2026-31887?
CVE-2026-31887 is a security vulnerability in Shopware involving Unauthenticated data extraction possible through store-api.order endpoint under CWE-863: Incorrect Authorization.
Which Shopware versions are affected?
Affected versions include releases prior to 6.7.8.1, 6.6.10.15 across affected packages: shopware/core, shopware/platform.
What version fixes CVE-2026-31887?
Upgrading to 6.7.8.1, 6.6.10.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is shopware/core affected?
Yes, shopware/core is affected in releases prior to 6.7.8.1, 6.6.10.15. Upgrade your dependency to 6.7.8.1, 6.6.10.15 or later.
Is shopware/platform affected?
Yes, shopware/platform is affected in releases prior to 6.7.8.1, 6.6.10.15. Upgrade your dependency to 6.7.8.1, 6.6.10.15 or later.
What CWE is associated with CVE-2026-31887?
CVE-2026-31887 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Packagist dependencies for CVE-2026-31887?
Run the dependency tree command: 'inspect dependencies for shopware/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7vvp-j573-5584",
  "modified" : "2026-03-11T21:37:27Z",
  "published" : "2026-03-11T19:23:43Z",
  "aliases" : [ "CVE-2026-31887" ],
  "summary" : "Shopware: Unauthenticated data extraction possible through store-api.order endpoint",
  "details" : "### Summary\n\nAn insufficient check on the filter types for unauthenticated customers allows access to orders of other customers. This is part of the `deepLinkCode` support on the `store-api.order` endpoint.\n\n### Details\n\n#### Data Exposure\n\nDepending on the order payload configuration, attackers may retrieve:\n- Customer names\n- Billing address\n- Shipping address\n- Email addresses\n- Ordered products\n- Order values\n- Order numbers\n- Order dates\n- Payment method information\n- Shipping method information\n- More customs, depending on the given associations in the request\n\n#### Security Impact\n\nThis vulnerability allows:\n- Unauthorized access to foreign customer order data\n- Mass enumeration of recent orders\n- Potential scraping of customer personal information\n\n#### Limitation\n\nNo limitation, but only orders from the past 30 days are checked for changeable means of payment (unrelated).\n\n### Impact\n\nThe code is present since ~2021. Likely every version since then is impacted for every store.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.7.0.0"
      }, {
        "fixed" : "6.7.8.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.6.10.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.7.0.0"
      }, {
        "fixed" : "6.7.8.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.6.10.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/security/advisories/GHSA-7vvp-j573-5584"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-31887"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/shopware/shopware"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-11T19:23:43Z",
    "nvd_published_at" : "2026-03-11T19:16:04Z"
  }
}