HighGHSA-352x-hc2f-fwffCVE-2019-16317SNYK-PHP-PIMCOREPIMCORE-451599

Pimcore RCE via PHAR upload

Published 24 May 2022 · Updated 10 Sept 2026

Affected package

Affected
<5.7.1
Fixed in
5.7.1
Update to the fixed version for your release line, for example:composer require pimcore/pimcore:^5.7.1

Details

In Pimcore before 5.7.1, an attacker with limited privileges can trigger execution of a .phar file via a phar:// URL in a filename parameter, because PHAR uploads are not blocked and are reachable within the phar://../../../../../../../../var/www/html/web/var/assets/ directory, a different vulnerability than CVE-2019-10867 and CVE-2019-16318.

Is GHSA-352x-hc2f-fwff in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected pimcore/pimcore, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.