GHSA-m895-2hj3-8cg9: Shopware vulnerable to MediaVisibilityRestrictionSubscriber bypass when reading media entities by aggregating fields individually
In Shopware core and platform versions before 6.6.10.7 and 6.7.3.1, media visibility restrictions applied by MediaVisibilityRestrictionSubscriber are not enforced for aggregation API requests. Authorization filters are only injected during standard entity reads; aggregation queries can be constructed to bypass these checks and enumerate private media records such as invoices or other restricted documents.
Published Oct 21, 2025
Affected packages
shopware/platform
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.7.0.0, < 6.7.3.1
- Fixed in
- 6.7.3.1
- Check
composer show shopware/platform
shopware/platform
- Ecosystem
- Composer (PHP)
- Affected
- < 6.6.10.7
- Fixed in
- 6.6.10.7
- Check
composer show shopware/platform
shopware/core
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.7.0.0, < 6.7.3.1
- Fixed in
- 6.7.3.1
- Check
composer show shopware/core
shopware/core
- Ecosystem
- Composer (PHP)
- Affected
- < 6.6.10.7
- Fixed in
- 6.6.10.7
- Check
composer show shopware/core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In Shopware core and platform versions before 6.6.10.7 and 6.7.3.1, media visibility restrictions applied by MediaVisibilityRestrictionSubscriber are not enforced for aggregation API requests. Authorization filters are only injected during standard entity reads; aggregation queries can be constructed to bypass these checks and enumerate private media records such as invoices or other restricted documents. A low‑privilege backend user (e.g., product editor) can chain normal business flows (creating or viewing orders) with aggregation queries to disclose sensitive customer data including addresses and payment-related information contained within associated private media. The issue is resolved in 6.6.10.7 and 6.7.3.1.
Credited to JoshuaBehrens.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-48008
Shopware: Privilege Escalation via Sync API Integration Admin Flag Bypass
medium6.5Jun 4, 2026CVE-2026-48009
Shopware: Admin Account Takeover via User Recovery Hash Exposure
medium6.8Jun 4, 2026CVE-2026-48010
Shopware: Privilege escalation: non-admin user with user:create ACL can create admin accounts
medium6.5Jun 4, 2026CVE-2026-48011
Shopware: Timing-attack on admin panel allowing enumeration of administrator usernames
low3.7Jun 4, 2026CVE-2026-48012
Shopware SSO referer trust leading to an arbitrary redirect target
medium4.3Jun 4, 2026CVE-2026-48013
Shopware: SSRF in Media External-Link Endpoint Bypasses IP Validation
medium4.1Jun 4, 2026
