Lucene search
K

📄 Shopware Improper Control

🗓️ 13 Apr 2026 00:00:00Reported by Łukasz RybakType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 121 Views

Shopware code injection risk in Twig views due to improper control; fixed in 6.7.6.1.

Related
Code
# CVE-2026-23498: Shopware Has Improper Control of Generation of Code in Twig rendered views
    
    ## Overview
    
    | Field | Details |
    |---|---|
    | **CVE ID** | [CVE-2026-23498](https://nvd.nist.gov/vuln/detail/CVE-2026-23498) |
    | **Severity** | HIGH |
    | **Advisory** | [View Advisory](https://github.com/shopware/shopware/security/advisories/GHSA-7cw6-7h3h-v8pf) |
    | **Discovered by** | [Lukasz Rybak](https://github.com/lukasz-rybak) |
    
    ## Affected Products
    
    - **shopware/shopware** (versions: >= 6.7.0.0, < 6.7.6.1)
    - **shopware/core** (versions: >= 6.7.0.0, < 6.7.6.1)
    
    
    ## CWE Classification
    
    - CWE-94: Improper Control of Generation of Code ('Code Injection')
    
    ## Details
    
    ### Impact
    We fixed with [CVE-2023-2017](https://github.com/advisories/GHSA-7v2v-9rm4-7m8f) 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
    
    ### References
    (https://github.com/advisories/GHSA-7v2v-9rm4-7m8f)
    
    ## 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
    
    
    ## Disclaimer
    
    This CVE was responsibly disclosed following coordinated vulnerability disclosure practices. The information provided here is for educational and defensive purposes only.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

13 Apr 2026 00:00Current
7.2High risk
Vulners AI Score7.2
CVSS 3.17.2
EPSS0.00027
SSVC
121