Skip to main content

Shopware CVE-2026-48009

MEDIUM
Information Exposure (CWE-200)
2026-06-04 https://github.com/shopware/shopware GHSA-8v9p-g828-v98f
6.8
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
6.8 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Source Code Evidence Fetched
Jun 04, 2026 - 19:46 vuln.today
Analysis Generated
Jun 04, 2026 - 19:46 vuln.today

DescriptionGitHub Advisory

Summary

A low-privilege admin user with user_recovery:read ACL can take over any admin account. The attacker triggers password recovery for the victim (unauthenticated endpoint), reads the recovery hash from the Admin API search endpoint, then uses the hash to reset the victim's password (another unauthenticated endpoint). The recovery hash - intended to be secret and delivered only via email - is fully readable through the standard entity search API.

OWASP: A01:2021 - Broken Access Control

Root Cause

The user_recovery entity exposes its hash field through the Admin API search endpoint (POST /api/search/user-recovery). The hash field lacks ApiAware(false) or ReadProtection, so any user with user_recovery:read ACL can read it.

The password recovery flow assumes the hash is delivered exclusively via email. The Admin API provides an alternative channel to obtain it, breaking this assumption.

Three endpoints combine to form the attack:

  1. POST /api/_action/user/user-recovery - triggers recovery, creates hash in DB (no auth required)
  2. POST /api/search/user-recovery - reads the hash (requires only user_recovery:read ACL)
  3. PATCH /api/_action/user/user-recovery/password - resets password using hash (no auth required)

Vulnerable code:

  • src/Core/System/User/Recovery/UserRecoveryDefinition.php - hash field is ApiAware with no ReadProtection

Impact

  • Full admin account takeover - attacker gains the highest privilege level in the system
  • All admin capabilities - user/role management, system configuration, plugin management, customer data access
  • Cascading compromise - taken-over admin account can be used to pivot to other attacks
  • Low barrier - user_recovery:read is a seemingly harmless permission that grants devastating access

Remediation

Remove the hash field from API responses:

php
// src/Core/System/User/Recovery/UserRecoveryDefinition.php
(new StringField('hash', 'hash'))
    ->addFlags(new Required(), new ApiAware(false)),

AnalysisAI

Admin account takeover in Shopware's PHP e-commerce platform is achievable by any low-privilege admin holding the user_recovery:read ACL through a three-endpoint attack chain requiring no special tooling. The vulnerability stems from the UserRecoveryDefinition exposing a secret password-reset hash via the Admin API search endpoint - a hash the recovery flow assumes is delivered exclusively via email - enabling the attacker to bypass the intended out-of-band delivery mechanism entirely. Patched versions 6.6.10.18 and 6.7.10.1 are available; no public exploit code or CISA KEV listing has been identified at time of analysis, though the attack is fully documented in the GitHub Security Advisory GHSA-8v9p-g828-v98f.

Technical ContextAI

Shopware is a PHP-based e-commerce platform distributed as composer packages shopware/platform and shopware/core. The vulnerability is rooted in CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor): the UserRecoveryDefinition entity (src/Core/System/User/Recovery/UserRecoveryDefinition.php) declares its hash field as ApiAware without setting ApiAware(false) or applying a ReadProtection flag. Shopware's Admin API search endpoint (POST /api/search/user-recovery) respects entity field definitions to determine what is serialized in responses; because hash carries no read-protection flag, it is returned verbatim to any caller holding the user_recovery:read ACL. The password recovery design relies on the hash being a shared secret known only to the recipient's email inbox, but the Admin API constitutes an unintended second channel for hash retrieval, invalidating the security model of all three recovery endpoints.

RemediationAI

Upgrade shopware/platform or shopware/core to version 6.6.10.18 (for 6.6.x deployments) or 6.7.10.1 (for 6.7.x deployments) as the primary remediation; both releases are confirmed in Shopware's GitHub release notes and the GHSA advisory. The code-level fix is to add the ApiAware(false) flag to the hash field in src/Core/System/User/Recovery/UserRecoveryDefinition.php, ensuring the field is never serialized in API responses. As an interim compensating control prior to patching, revoke the user_recovery:read ACL from all admin accounts that do not strictly require it - note this may break operational workflows dependent on recovery auditing. A second interim measure is to apply a WAF or API gateway rule blocking authenticated access to POST /api/search/user-recovery; however, this endpoint may also serve legitimate administrative functions, so test for operational impact before deploying. Do not rely solely on access controls without patching, as the fix must close the data exposure at the entity definition layer.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-48009 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy