Skip to main content

CVE-2026-31889 — Vulnerability in shopware/platform — CVE Details

HIGH

Shopware vulnerable to a potential take over of app credentials

Published March 11, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.47%). Schedule for your next planned update.

Does your project use an affected shopware/platform version?

Paste your composer.lock to check it for CVE-2026-31889 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

Summary

We identified and fixed a vulnerability in the Shopware app registration flow that could, under specific conditions, allow attackers to take over the communication channel between a shop and an app. By abusing app re‑registration, an attacker could redirect app traffic to an attacker‑controlled domain and potentially obtain API credentials intended for the legitimate shop. We have no evidence that this vulnerability has been exploited.


Affected Scope

  • All apps (public and private) that use a registrationUrl in their app manifest and rely on the legacy HMAC‑based registration flow.
  • Both on‑premise and cloud installations are affected until updated to a fixed Shopware version or protected by the latest Shopware Security Plugin.
  • Shopware services and first‑party apps using the affected SDKs were reviewed and patched. The vulnerability does not affect core storefront or administration authentication; it is limited to the app system’s registration and re‑registration mechanism.

Impact

In a successful attack, an attacker who already knows certain app‑side secrets could:

  • Re‑register an existing app installation with a domain under their control.
  • Intercept App → Shop communication and cause data tampering (“data poisoning”).
  • Obtain API integration credentials of the shop with the permissions granted to the app. Shop owners and app manufacturers would typically observe this as “app malfunction” rather than an obvious security issue, which increases the need for hardening.

Root Cause

The legacy app registration flow used HMAC‑based authentication without sufficiently binding a shop installation to its original domain. During re‑registration, the shop-url could be updated without proving control over the previously registered shop or domain. This made targeted hijacking of app communication feasible if an attacker possessed the relevant app‑side secret.


Fix

We have hardened the app registration and re‑registration process:

  • Dual signature requirement: Re‑registration now requires both the app secret and the existing shop secret to be presented and validated.
  • Mandatory secret rotation: On successful re‑registration, a new shop secret is generated and verified; the previous secret is invalidated after a short grace period.
  • Stricter validation: Shopware only accepts updated shop URLs and secrets once the full confirmation flow has completed successfully.
  • Improved logging and monitoring: All re‑registrations are now logged with additional metadata to help detect abuse patterns. These changes are delivered via:
  • Updated Shopware core releases (6.6.x, 6.7.x), and
  • Updated versions of the Shopware Security Plugin for supported older versions,
  • Updated official SDKs (e.g. PHP and JavaScript app SDKs).

Required Action

For Merchants / Shop Operators

  1. Update Shopware
    • Upgrade to the latest Shopware 6.6.x / 6.7.x release that includes this fix, or
    • Install/update the latest Shopware Security Plugin version providing the hotfix for your Shopware 6 installation.
  2. Update apps
    • Ensure all installed apps are updated to the latest versions provided by their manufacturers.
    • If you suspect compromised keys or observe unexpected app behaviour, re‑install the affected app or trigger key rotation as documented by the app vendor.

For App Manufacturers / Partners

  1. Update SDKs / implementations
    • Update to the latest Shopware app SDKs (PHP / JS) or apply the documented changes if you maintain a custom implementation of the registration flow.
    • Validate both shopware-app-signature and shopware-shop-signature for re‑registration requests.
    • Always generate and store a new shop secret on re‑registration and only switch to it after a successful confirmation.
  2. Review your apps
    • Verify that your app does not blindly accept changed shop-url values without validating signatures.
    • Check any logic that exposes data or functionality based solely on HMAC signatures from shops and ensure it aligns with the hardened registration model.
  3. Test your implementation
    • Use the updated tooling and guidance provided in your Shopware Account / partner channels to validate that your registration flow complies with the new requirements.

Advisory Timeline

  • First published March 11, 2026 (260 days ago).
  • Last revised September 10, 2026 — 182 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update shopware/platform to 6.6.10.15 or later
composer require "shopware/platform:^6.6.10.15"
Composer
Update shopware/platform to 6.7.8.1 or later
composer require "shopware/platform:^6.7.8.1"
Composer
Update shopware/core to 6.6.10.15 or later
composer require "shopware/core:^6.6.10.15"
Composer
Update shopware/core to 6.7.8.1 or later
composer require "shopware/core:^6.7.8.1"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Packagist (2).

PackageFixed In
shopware/platform Packagist · Affected: 6.3.0.0, 6.3.0.1, 6.3.0.2, 6.3.1.0 (+159 more)6.6.10.15
shopware/platform Packagist · Affected: v6.7.0.0, v6.7.0.1, v6.7.1.0, v6.7.1.1 (+17 more)6.7.8.1
shopware/core Packagist · Affected: 6.3.0.0, 6.3.0.1, 6.3.0.2, 6.3.1.0 (+159 more)6.6.10.15
shopware/core Packagist · Affected: v6.7.0.0, v6.7.0.1, v6.7.1.0, v6.7.1.1 (+17 more)6.7.8.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

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

Frequently Asked Questions

What is CVE-2026-31889?
Shopware vulnerable to a potential take over of app credentials. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.9/10).
How do I check if my project is affected by CVE-2026-31889?
CVE-2026-31889 affects shopware/platform and shopware/core. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-31889 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.9

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.47%
EPSS percentile: 33.3

This is a below-median EPSS score — only 33.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-c4p7-rwrg-pf6p

Related CVEs

  • CVE-2023-22731
    CRITICAL

    Shopware vulnerable to Improper Control of Generation of Code in Twig rendered views

  • CVE-2024-22406
    CRITICAL

    Blind SQL injection in shopware

  • CVE-2024-42355
    HIGH

    Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag

  • CVE-2024-42356
    HIGH

    Shopware vulnerable to Server Side Template Injection in Twig using Context functions

  • CVE-2026-103035
    HIGH

    TeamPass folder re-parenting authorization bypass

  • CVE-2026-31887
    HIGH

    Shopware: Unauthenticated data extraction possible through store-api.order endpoint

  • CVE-2026-110782
    HIGH

    SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding)

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock