Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-2017: Server-side Template Injection (SSTI) in Shopware 6 (<= v6.4.20.0, v6.5.0.0-rc1 <= v6.5.0.0-rc4), affecting bo

56
This month
HIGH 8.8UPGRADE

CVE-2023-2017 is a high-severity flaw (CVSS 8.8) affecting shopware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Server-side Template Injection (SSTI) in Shopware 6 (<= v6.4.20.0, v6.5.0.0-rc1 <= v6.5.0.0-rc4), affecting both shopware/core and shopware/platform GitHub repositories, allows remote attackers with access to a Twig environment without the Sandbox extension to bypass the validation checks in `Shopware\Core\Framework\Adapter\Twig\SecurityExtension` and call any arbitrary PHP function and thus execute arbitrary code/commands via usage of fully-qual

Why this priority

  • High severity
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance2.1% (top 19%)
CISA exploited listNo
WeaknessCWE-184, CWE-1336, CWE-94
Published2023-04-17
Last modified2026-10-24
Publisher (CNA): STAR Labs SG Pte. Ltd. · Vendor: shopware

Share: LinkedIn · X · Reddit

Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

shopware shopware UPGRADE
Affected: >= 6.1.0 and <= 6.4.20.0 · 6.5.0.0 rc1 · 6.5.0.0 rc2 · 6.5.0.0 rc3
Fixed in: newer than 6.4.20.0
Safe to downgrade to: a release before 6.1.0
1. Check installed version
apt-cache policy shopware || rpm -q shopware || shopware --version
2. UPGRADE to newer than 6.4.20.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade shopware
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade shopware
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.1.0 (Debian / Ubuntu)
apt-cache madison shopware sudo apt install shopware=<VERSION_BEFORE_6.1.0> sudo apt-mark hold shopware
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list shopware sudo dnf downgrade shopware-<VERSION_BEFORE_6.1.0> sudo dnf versionlock add shopware
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Composer (PHP) · shopware/platform · FIXED · 6.4.20.1 · vulnerable: <= 6.4.20.0 · source
composer require "shopware/platform:>=6.4.20.1"
Composer (PHP) · shopware/core · FIXED · 6.4.20.1 · vulnerable: <= 6.4.20.0 · source
composer require "shopware/core:>=6.4.20.1"
Fedora 46 · gnome-shell-extension-tiling-assistant · FIXED · 56-1.fc46 · FEDORA-2026-ebf66a5321 · source
sudo dnf upgrade --advisory=FEDORA-2026-ebf66a5321

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-2017?

shopware: upgrade to newer than 6.4.20.0. Exact commands for each OS are on this page.

Is CVE-2023-2017 being exploited?

CVE-2023-2017 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-2017 affect?

CVE-2023-2017 affects shopware. Severity is high (CVSS 8.8). Server-side Template Injection (SSTI) in Shopware 6 (<= v6.4.20.0, v6.5.0.0-rc1 <= v6.5.0.0-rc4), affecting both shopware/core and shopware/platform GitHub repositories, allows remote attackers with access to a Twig environment without the

How urgent is CVE-2023-2017?

Priority 56/100. High severity; Public exploit reference

Software pages

PHP vulnerabilities · GitHub vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.