CVE-2026-23498: Shopware Has Improper Control of Generation of Code in Twig rendered views
Impact We fixed with CVE-2023-2017 Twig filters to only be executed with allowed functions. However there was a regression that lead to an array and array crafted PHP Closure not checked being against allow list for the map(...) override Patches Patched in 6.7.6.1 Workarounds Install the security plugin
Published Jan 14, 2026
Affected packages
shopware/shopware
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.7.0.0, < 6.7.6.1
- Fixed in
- 6.7.6.1
- Check
composer show shopware/shopware
shopware/core
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.7.0.0, < 6.7.6.1
- Fixed in
- 6.7.6.1
- Check
composer show shopware/core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
We fixed with CVE-2023-2017 Twig filters to only be executed with allowed functions. However there was a regression that lead to an array and array crafted PHP Closure not checked being against allow list for the map(...) override
Patches
Patched in 6.7.6.1
Workarounds
Install the security plugin
Credited to lukasz-rybak, andreisss.
References
- https://github.com/shopware/shopware/security/advisories/GHSA-7cw6-7h3h-v8pf
- https://github.com/advisories/GHSA-7v2v-9rm4-7m8f
- https://nvd.nist.gov/vuln/detail/CVE-2026-23498
- https://github.com/shopware/shopware/commit/3966b05590e29432b8485ba47b4fcd14dd0b8475
- https://github.com/advisories/GHSA-7cw6-7h3h-v8pf
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
