CVE-2025-27892 Shopware Vulnerable to Blind SQL-injection in DAL aggregations

Medium 6.8 Published Updated

Attackers can exploit SQL injection in the order search API to read or modify database contents in Shopware installations.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-27892?

CVE-2025-27892 is a medium-severity SQL injection vulnerability in Shopware Shopware, published on 15 Apr 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Shopware prior to version 6.5.8.13 is affected by a SQL injection vulnerability in the /api/search/order endpoint. NOTE: this issue exists because of a CVE-2024-22406 and CVE-2024-42357 regression.

Weakness: CWE-89

Which versions are affected by CVE-2025-27892?

12 open source packages ship an affected version, including shopware/core and shopware/platform. It affects 1 product.

PackageAffectedFixed in
shopware/core PackagistAll versions6.5.8.18
shopware/core PackagistAll versions6.5.8.18
shopware/core PackagistFrom 6.6.0.06.6.10.3
shopware/core PackagistFrom 6.6.0.06.6.10.3
shopware/core PackagistFrom 6.7.0.0-rc16.7.0.0-rc2
shopware/core PackagistFrom 6.7.0.0-rc16.7.0.0-rc2
6 more packages
shopware/platform PackagistAll versions6.5.8.18
shopware/platform PackagistAll versions6.5.8.18
shopware/platform PackagistFrom 6.6.0.06.6.10.3
shopware/platform PackagistFrom 6.6.0.06.6.10.3
shopware/platform PackagistFrom 6.7.0.0-rc16.7.0.0-rc2
shopware/platform PackagistFrom 6.7.0.0-rc16.7.0.0-rc2

Products include Shopware Shopware.

How do I fix CVE-2025-27892?

Upgrade shopware/core to a fixed version for your release line: 6.5.8.18, 6.6.10.3 or 6.7.0.0-rc2.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-27892 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27892 exists.

Public exploit code: 1 Nuclei template.

All Shopware Shopware vulnerabilities

Sources

Also known as GHSA-8g35-7rmw-7f59.

Is CVE-2025-27892 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free