All vulnerabilities

Servers and applications

GHSA-p67w-3mq7-rw2g

Path traversal via writable media.fileExtension leads to remote code execution (single media:update privilege)

Severity
High 8.0
Published
25 Aug 2026
Last changed
25 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
6.7.13.1
Weakness
Path traversal (CWE-22)Code injection (CWE-94)Unrestricted file upload (CWE-434)
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

Shopware did not sufficiently validate a media file extension during a media update. An authenticated Administration user with the media:update privilege could use this to write files outside the intended media directory.

In affected configurations, this could lead to arbitrary PHP code execution and full compromise of the shop.

From shopware/shopware's security advisory.

Workarounds

If an immediate update is not possible, restrict the media:update privilege to fully trusted users and integrations. Review accounts and integrations that hold this privilege, and remove it where it is not required.

Workarounds as given by shopware/shopware's security advisory.

Affected software

SoftwareAffected versions
ShopwareServers and applications · github:shopware/shopware
  • From 6.7.1.0 before 6.7.13.1

About Shopware

open-source e-commerce platform

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
291,680Packagist, 15 Nov 2026
Total downloads (Packagist)
6,581,000Packagist, 15 Nov 2026
GitHub stars
3,471GitHub, 15 Nov 2026
Forks
1,226GitHub, 15 Nov 2026
Latest release
v6.7.16.0GitHub, 15 Nov 2026
Released
2 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
3 May 2018GitHub

Release lines

ReleaseLatestSecurity fixes
6.76.7.16.0Until 28 Feb 2028
6.66.6.10.31Until 28 Feb 2028
6.56.5.8.19Until 28 Feb 2027
5.75.7.20Ended 31 Jul 2024
6.46.4.20.2Ended 14 May 2025
6.36.3.5.4Ended

From endoflife.date.

References