Shopware CVE-2026-48009
MEDIUMSeverity by source
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
Lifecycle Timeline
2DescriptionGitHub 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:
POST /api/_action/user/user-recovery- triggers recovery, creates hash in DB (no auth required)POST /api/search/user-recovery- reads the hash (requires onlyuser_recovery:readACL)PATCH /api/_action/user/user-recovery/password- resets password using hash (no auth required)
Vulnerable code:
src/Core/System/User/Recovery/UserRecoveryDefinition.php-hashfield isApiAwarewith noReadProtection
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:readis a seemingly harmless permission that grants devastating access
Remediation
Remove the hash field from API responses:
// 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.
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
GHSA-8v9p-g828-v98f