Intel

AIKIDO-2026-371231

shopware/core is vulnerable to Path Traversal

Path TraversalGHSA-p67w-3mq7-rw2g Published Yesterday

80

High Risk

This Affects:

PHPshopware/core
6.7.1.0 - 6.7.13.0
Fixed in 6.7.13.1
Are you affected? Scan for Free

TL;DR

shopware/core accepted direct writes to media.fileExtension without applying the same configured extension allowlist used for media uploads. An authenticated Administration user with the media:update privilege can set a crafted extension containing path elements and write files outside the intended media directory. In affected configurations this can place executable PHP on the server and lead to remote code execution. The fix validates public and private media extensions on every write and rejects illegal values with MEDIA_ILLEGAL_FILE_EXTENSION.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and Administration users or integrations have the media:update privilege.

Background info

shopware/core is vulnerable to Path Traversal in versions 6.7.1.0 - 6.7.13.0.

How to fix this

Upgrade the shopware/core and/or the shopware/platform library to the patch version.