Community Hub membersJoin more than 6500+ Members
All security advisories
HighCVSS 8.6– Published

Pre-authentication SQL injection in Store API

GHSA-p37c-pm9p-7vm5

Affected versions

PackageAffected versionsFixed in
shopware/platform>=6.7.0.0 <6.7.13.16.7.13.1
shopware/platform<6.6.10.236.6.10.23
shopware/core>=6.7.0.0 <6.7.13.16.7.13.1
shopware/core<6.6.10.236.6.10.23

Fixed by the Security Plugin

If you cannot update Shopware right away, the Shopware Security Plugin closes this issue from the listed version on.

Shopware versionSecurity Plugin version
6.5.x2.0.22 or newer
6.6.x3.0.17 or newer
6.7.x4.0.13 or newer

Description

Impact

Shopware contains an SQL injection vulnerability in the Store API. An unauthenticated remote attacker with a valid Sales Channel access key could manipulate a database query and potentially access sensitive data.

Sales Channel access keys are commonly exposed by design in headless Store API integrations and should not be treated as a secret or as sufficient protection against this issue.

Affected versions
  • Shopware 6.7.0.0 through 6.7.13.0
  • Shopware versions before 6.6.10.23
Patches

The issue is fixed in:

  • 6.7.13.1
  • 6.6.10.23

We recommend updating to a patched version as soon as possible.

Workarounds

If an immediate update is not possible, restrict Store API exposure where feasible and monitor Store API and database logs for unexpected requests or anomalous SQL activity.

Credits

Thanks to @danslo and @HDWSec for responsibly reporting this issue.