CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-31887

CVE-2026-31887: Incorrect Authorization in Shopware Store API Order Route

Amit Schendel
Amit Schendel
Senior Security Researcher

Mar 12, 2026·4 min read·98 visits

Executive Summary (TL;DR)

Unauthenticated attackers with a single valid deepLinkCode can inject arbitrary filters into the Shopware Store API to bypass access controls, exposing PII and order data of other customers.

CVE-2026-31887 is an Incorrect Authorization vulnerability in the Shopware commerce platform. The flaw resides in the store-api.order endpoint, allowing unauthenticated attackers to bypass Data Abstraction Layer (DAL) filters and extract sensitive Personal Identifiable Information (PII) belonging to other customers.

Vulnerability Overview

CVE-2026-31887 describes an incorrect authorization vulnerability in the Shopware commerce platform. The flaw affects the shopware/core and shopware/platform packages, specifically targeting the store-api.order endpoint. This endpoint allows unauthenticated guest access via a deepLinkCode to view specific order details.

The vulnerability falls under CWE-863 (Incorrect Authorization). The Store API utilizes a Data Abstraction Layer (DAL) Criteria system that processes search filters and database associations defined in client request payloads. The API fails to properly restrict the filters provided by clients when authenticating via a guest deepLinkCode.

This lack of strict server-side validation allows an attacker to bypass intended access controls. Attackers can extract order data belonging to other customers, exposing sensitive Personal Identifiable Information (PII). The exploit requires the attacker to possess at least one valid deepLinkCode to access the vulnerable logic path.

Root Cause Analysis

The root cause of the vulnerability lies in the implementation of the OrderRoute within the Shopware Store API. The application logic fails to strictly enforce the deepLinkCode as an exclusive, non-bypassable filter for unauthenticated requests. The DAL Criteria system processes complex JSON payloads containing user-defined filters, sortings, and database associations.

Attackers exploit this by injecting arbitrary filter types into the Criteria object. The vulnerable implementation processes filters such as EqualsFilter, RangeFilter, or PrefixFilter without proper authorization checks. The server-side logic improperly merges these user-supplied filters with the required deepLinkCode filter.

Specifically, the flawed query construction permits an OR condition between the mandatory deepLinkCode and the attacker-supplied filters. Alternatively, the system fails to strip unauthorized filters entirely before execution. This allows the backend database to return records matching the injected filters, overriding the strict isolation intended by the guest access token.

Exploit Methodology

Exploitation requires an attacker to possess a single valid, non-guessable deepLinkCode. This code provides initial access to the vulnerable /store-api/order endpoint. The attacker does not require an authenticated session or elevated privileges within the Shopware instance to execute the attack.

The attacker crafts a POST request to the /store-api/order endpoint. The request body contains a JSON payload defining a criteria object with malicious filters. By supplying the valid deepLinkCode alongside secondary filters, the attacker forces the backend to evaluate unauthorized parameters.

{
  "filter": [
    { "type": "equals", "field": "deepLinkCode", "value": "VALID_CODE_HERE" },
    { "type": "equals", "field": "orderNumber", "value": "10001" }
  ],
  "associations": {
    "orderCustomer": {},
    "addresses": {},
    "deliveries": {}
  }
}

If the backend fails to enforce a strict filter whitelist, the DAL processes the injected orderNumber filter. The system returns the order data for order number 10001 regardless of its association with the provided deepLinkCode. Through the deep associations requested in the payload, the attacker extracts comprehensive customer PII including names, addresses, and delivery data.

Impact Assessment

The primary impact of CVE-2026-31887 is a severe breach of confidentiality. Attackers achieve mass extraction of customer PII and complete order histories. Extracted data includes customer names, email addresses, physical shipping addresses, and payment details.

The vulnerability operates with a high CVSS 4.0 base score of 8.9 (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). The attack vector is strictly network-based and requires no user interaction. The integrity of the system remains unaffected, as the vulnerability facilitates data extraction rather than unauthorized modification.

The availability impact is categorized as low. However, attackers can construct complex recursive Criteria objects within the payload. Processing these deeply nested associations forces excessive database queries, creating a viable path for resource exhaustion and subsequent Denial of Service (DoS) conditions against the database tier.

Remediation and Patch Analysis

Shopware addressed this vulnerability in core versions 6.6.10.15 and 6.7.8.1. The remediation implements strict filter whitelisting within the OrderRoute and associated DAL builders. The system now mandates that any request lacking explicit authentication undergoes rigid filter sanitization.

The patch enforces the deepLinkCode as a mandatory, top-level AND constraint. The application actively strips or rejects any filter not explicitly permitted for guest access before passing the Criteria object to the database layer. This ensures injected filters cannot bypass the token isolation.

In conjunction with the routing fix, the developers applied architectural hardening measures via commit 92e57c2eeb525810dc7c6028804a3e23f2fea3ef. These changes harden the AppSecretRotationController to prevent metadata leakage in JSON responses. The patch also relocates sensitive endpoints to more restricted namespaces to minimize the unauthenticated attack surface.

Official Patches

ShopwareFix Commit (Architectural Hardening)

Fix Analysis (1)

Technical Appendix

CVSS Score
8.9/ 10
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 Systems

shopware/coreshopware/platform

Affected Versions Detail

Product
Affected Versions
Fixed Version
shopware/core
Shopware
< 6.7.8.1, >= 6.7.0.06.7.8.1
shopware/core
Shopware
< 6.6.10.15, >= 6.6.0.06.6.10.15
AttributeDetail
CWE IDCWE-863
Attack VectorNetwork
CVSS Score8.9
Privileges RequiredNone
Exploit StatusProof of Concept
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1566Phishing
Initial Access
CWE-863
Incorrect Authorization

Incorrect Authorization

Vulnerability Timeline

Public Disclosure and Official Publication
2026-03-11

References & Sources

  • [1]NVD Record for CVE-2026-31887
  • [2]GitHub Security Advisory: GHSA-7vvp-j573-5584
  • [3]Affected Repository: shopware/shopware

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 6 hours ago•CVE-2026-61687
7.1

CVE-2026-61687: OAuth State Validation Bypass and Login CSRF in Hatchet

A logic error in Hatchet's OAuth state validation mechanism allows unauthenticated remote attackers to bypass state parameter verification. By submitting an empty state parameter, attackers can exploit an equality collision with cleared session keys, facilitating Login Cross-Site Request Forgery (Login CSRF) or Session Fixation.

Amit Schendel
Amit Schendel
9 views•10 min read
•2 days ago•CVE-2026-58197
8.8

CVE-2026-58197: Host Escape and Lateral Movement via Insecure Container Network Defaults in ToolHive

A high-severity access control vulnerability in ToolHive CLI before v0.30.1 and ToolHive Studio before v0.38.0 allows local containerized MCP servers to bypass network isolation. This enables malicious workloads to establish TCP/IP connections to administrative and control plane endpoints exposed on the host loopback interface.

Amit Schendel
Amit Schendel
9 views•8 min read
•2 days ago•CVE-2026-63405
5.9

CVE-2026-63405: Insufficient Verification of Data Authenticity in AnyCable Pusher REST API

AnyCable is a real-time communication server. Prior to version 1.6.15, its Pusher-compatible REST API suffered from an authentication bypass vulnerability because it failed to verify that the request body matched the signature-validated body_md5 parameter. This allows attackers to perform replay attacks with modified body contents.

Amit Schendel
Amit Schendel
10 views•5 min read
•2 days ago•CVE-2026-64847
6.8

CVE-2026-64847: Indefinite Denial of Service via Undrained Stderr in AnyIO Process Pool Workers

A denial-of-service vulnerability exists in AnyIO prior to version 4.14.2. Standard error streams of process-pool workers are connected to an operating system pipe that is never drained by the parent process. This allows a worker to fill the pipe buffer and deadlock indefinitely.

Amit Schendel
Amit Schendel
12 views•6 min read
•2 days ago•CVE-2026-63349
7.0

CVE-2026-63349: Privilege Dropping Bypass and Denial of Service in AnyIO Subprocess Module

CVE-2026-63349 is a critical privilege-dropping bypass vulnerability in the AnyIO asynchronous framework (versions 4.14.0 and 4.14.1) on POSIX platforms. Due to a variable assignment typo, supplementary groups specified by the developer are not correctly propagated to the execution backend, resulting in subprocesses retaining the parent process's elevated supplementary group permissions.

Alon Barad
Alon Barad
27 views•5 min read
•2 days ago•CVE-2026-63406
5.9

CVE-2026-63406: Information Disclosure via Insecure Telemetry and Hardcoded Credentials in AnyCable-Go

CVE-2026-63406 is an information disclosure vulnerability in AnyCable-go prior to version 1.6.15. The built-in telemetry client is enabled by default with a hardcoded public authentication token ('secret'). This client digests highly sensitive configuration parameters and command-line arguments, including JWT secrets and RPC secrets, into a stable SHA-256 fingerprint. This fingerprint is sent over public networks, exposing those administrative secrets to offline dictionary and brute-force attacks if intercepted.

Alon Barad
Alon Barad
8 views•5 min read