CVE-2024-22406 — Blind SQL injection in shopware/core — CVE Details
Blind SQL injection in shopware
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.06%). Schedule for your next planned update.
Does your project use an affected shopware/core version?
Paste your composer.lock to check it for CVE-2024-22406 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
The Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the “aggregations” object. The ‘name’ field in this “aggregations” object is vulnerable SQL-injection and can be exploited using time-based SQL-queries.
Patches
Update to Shopware 6.5.7.4
Workarounds
For older versions of 6.1, 6.2, 6.3 and 6.4 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
Advisory Timeline
- First published January 17, 2024 (1044 days ago).
- Last revised September 10, 2026 — 966 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "shopware/core:^6.5.7.4"
composer require "shopware/platform:^6.5.7.4"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Packagist (2).
| Package | Fixed In |
|---|---|
| shopware/core Packagist · Affected: 6.3.0.0, 6.3.0.1, 6.3.0.2, 6.3.1.0 (+94 more) | 6.5.7.4 |
| shopware/platform Packagist · Affected: 6.3.0.0, 6.3.0.1, 6.3.0.2, 6.3.1.0 (+94 more) | 6.5.7.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
References
- https://github.com/shopware/shopware/security/advisories/GHSA-qmp9-2xwj-m6m9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22406ADVISORY
- https://github.com/shopware/core/commit/e2256ec81e56f792623e90d89786d8a9fcad28bfWEB
- https://github.com/shopware/shopware/commit/5005213e609f5a4423fcfa92f105c3de8ab35100WEB
- https://github.com/shopware/shopwarePACKAGE
- https://github.com/shopware/shopware/releases/tag/v6.5.7.4WEB
Frequently Asked Questions
- What is CVE-2024-22406?
- Blind SQL injection in shopware. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2024-22406?
- CVE-2024-22406 affects shopware/core and shopware/platform. It has a 1.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-22406 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 63.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2023-22731CRITICAL
Shopware vulnerable to Improper Control of Generation of Code in Twig rendered views
- CVE-2026-63412CRITICAL
Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2026-63413CRITICAL
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2024-42355HIGH
Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag
- CVE-2024-42356HIGH
Shopware vulnerable to Server Side Template Injection in Twig using Context functions
- CVE-2026-31887HIGH
Shopware: Unauthenticated data extraction possible through store-api.order endpoint
- CVE-2026-31889HIGH
Shopware vulnerable to a potential take over of app credentials