Vulnerability DatabaseGHSA-6wh5-mw9h-5c3w

GHSA-6wh5-mw9h-5c3w
PHP vulnerability analysis and mitigation

Overview

A path traversal vulnerability (GHSA-6wh5-mw9h-5c3w) was discovered in Shopware's plugin upload functionality, affecting versions >= 6.7.0.0, < 6.7.3.1 and < 6.6.10.7 of shopware/core and shopware/platform packages. The vulnerability was disclosed on October 21, 2025, and impacts on-premises installations of Shopware, allowing authenticated administrators with plugin upload permissions to exploit the vulnerability (GitHub Advisory).

Technical details

The vulnerability stems from improper validation of file paths in uploaded plugin ZIP files. The Shopware application implements a check to prohibit files containing '..' characters, but this check was only performed from the third entry (index 2) of the uploaded ZIP file. This oversight allows the second entry (index 1) to contain path traversal characters, enabling files to be written outside the intended plugins folder. The vulnerability has been assigned a CVSS score of 2.7 (Low) with the vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N (GitHub Advisory).

Impact

Malicious actors can exploit this vulnerability to write files within arbitrary directories on the filesystem of the Shopware web container. This could potentially lead to gaining persistent shell access by uploading a PHP-shell file to an accessible folder. The vulnerability only affects on-premises installations of Shopware, as SaaS installations implement additional security checks on uploaded plugin files (GitHub Advisory).

Exploitability

To exploit this vulnerability, an attacker needs an admin account with permissions to upload plugins. The exploitation process involves creating a malicious ZIP file with path traversal characters in the second entry, uploading it as a plugin, which results in arbitrary file writing capabilities outside the intended plugins directory (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 6.7.3.1 and 6.6.10.7. The fix involves modifying the ExtensionExtractor to correctly check all files in ZIP archives for path traversals, similar to the validation already implemented in the AppArchiveValidator (Shopware Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management