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·59 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 1 hour ago•CVE-2026-48861
2.1

CVE-2026-48861: HTTP Request Splitting and Smuggling via Method Parameter CRLF Injection in Elixir Mint

CVE-2026-48861 is a client-side HTTP request-line CRLF (Carriage Return Line Feed) injection vulnerability in the popular Elixir HTTP client library, Mint. The vulnerability permits HTTP Request Splitting and HTTP Request Smuggling when an application forwards untrusted, attacker-controlled inputs to Mint's HTTP client requests as either the HTTP request method or target. By embedding CRLF characters within these parameters, an attacker can terminate the request line prematurely, inject malicious headers, or pipeline entirely independent requests. These smuggled requests are then processed by upstream or downstream proxy servers as separate HTTP queries on the same TCP connection. While Mint version 1.7.0 introduced target validation to secure the request target, the HTTP request method parameter remained completely unvalidated. This flaw allows attackers to bypass routing filters, access restricted internal APIs, or poison HTTP caches under default configurations.

Amit Schendel
Amit Schendel
3 views•7 min read
•about 2 hours ago•CVE-2026-49753
6.3

CVE-2026-49753: HTTP Request/Response Smuggling via Inconsistent Content-Length Parsing in Elixir Mint Client

An Inconsistent Interpretation of HTTP Requests (HTTP Request/Response Smuggling) vulnerability in the Elixir Mint HTTP client allows attacker-controlled HTTP/1 servers to desynchronize response framing on shared connections due to over-lenient parsing of sign-prefixed Content-Length headers.

Amit Schendel
Amit Schendel
5 views•6 min read
•about 2 hours ago•CVE-2026-49754
8.2

CVE-2026-49754: Denial of Service via Unbounded HTTP/2 CONTINUATION Frame Accumulation in Elixir Mint

An allocation of resources without limits or throttling vulnerability in Elixir Mint allows an attacker-controlled HTTP/2 server to exhaust memory in a Mint client. The vulnerability is exploited by sending a HEADERS frame without the END_HEADERS flag followed by an infinite stream of CONTINUATION frames. Because the client lacks limits on the incoming header-block accumulator, the client continuously consumes memory until an out-of-memory crash occurs.

Amit Schendel
Amit Schendel
6 views•6 min read
•about 3 hours ago•CVE-2026-48596
2.1

CVE-2026-48596: Improper Neutralization of CRLF Sequences in Elixir Tesla Multipart HTTP Client

CVE-2026-48596 is an Improper Neutralization of CRLF Sequences in HTTP Headers (HTTP Request/Response Splitting, CWE-113) in the Elixir Tesla HTTP client. The flaw resides in how multipart content-type parameters are joined and serialized, enabling attackers to inject arbitrary headers or split HTTP requests when applications pass untrusted inputs to the parameters of multipart uploads.

Alon Barad
Alon Barad
4 views•6 min read
•about 3 hours ago•CVE-2026-48594
8.2

CVE-2026-48594: Decompression Bomb Denial of Service in Elixir Tesla HTTP Client

An improper handling of highly compressed data (decompression bomb) vulnerability exists in the Elixir Tesla HTTP client when utilizing response decompression middlewares. By serving highly compressed responses or stacked content-encoding headers, a malicious server can cause arbitrary heap exhaustion, leading to a denial of service (DoS) crash in the BEAM virtual machine.

Amit Schendel
Amit Schendel
5 views•6 min read
•about 4 hours ago•CVE-2026-48595
8.2

CVE-2026-48595: Cross-Origin Credential Leakage in Elixir Tesla Client via Case-Sensitive Redirect Filter Bypass

A high-severity security vulnerability in Elixir's Tesla HTTP client library (CVE-2026-48595) allows unauthenticated remote attackers to harvest sensitive credentials, including Authorization headers and cookies. The flaw resides in the 'Tesla.Middleware.FollowRedirects' component, which performs case-sensitive lookups when stripping credentials during cross-origin redirects. Because HTTP headers are case-insensitive by RFC specifications, standard canonical casing (e.g., 'Authorization') bypasses the lowercase-only blocklist, leaking tokens to untrusted external redirect destinations.

Alon Barad
Alon Barad
5 views•5 min read