CVE-2026-48009
mediumpriority · track · 0EPSS 0.005 · 39 %ileEUUSEPSS · scored 2026-10-27
Shopware is an open commerce platform. Prior to 6.6.10.18 and 6.7.10.1, a low-privilege admin user with user_recovery:read ACL can take over any admin account by triggering POST /api/_action/user/user-recovery, reading the password recovery hash through POST /api/search/user-recovery, and using PATCH /api/_action/user/user-recovery/password; the root cause is that src/Core/System/User/Recovery/UserRecoveryDefinition.php exposes the hash field through the Admin API without ApiAware(false) or ReadProtection. This issue is fixed in versions 6.6.10.18 and 6.7.10.1.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-8v9p-g828-v98fShopware: Admin Account Takeover via User Recovery Hash Exposure2026-06-04ghsa · osvUS
## 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)), ```
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- https://github.com/shopware/shopware/commit/06f8b9aa4fecb239a2ff33a6546192d7ce7ed0f8cnnvd
- https://github.com/shopware/shopware/commit/9ef4873f810e26fb38da051624f7f2720139279acnnvd
- https://github.com/shopware/shopware/commit/d82c23d8d5b22dd722c8f76c4f66785d1a7a72d8cnnvd
- https://github.com/shopware/shopware/releasesPatchcnnvd
- https://github.com/shopware/shopware/releases/tag/v6.6.10.18cnnvd
- https://github.com/shopware/shopware/releases/tag/v6.7.10.1cnnvd
- https://github.com/shopware/shopware/security/advisories/GHSA-8v9p-g828-v98fcnnvd
- https://github.com/shopware/shopware/commit/06f8b9aa4fecb239a2ff33a6546192d7ce7ed0f8enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan