OS Command Injection in composer - #VU146003
Published: August 27, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary commands.
The vulnerability exists due to command injection in the Perforce source URL handling in Composer when processing a malicious package\'s Perforce source address during install or update. A remote attacker can provide a specially crafted package source URL to execute arbitrary commands.
The issue is exploitable only if the Perforce p4 client is installed and available on the PATH, and the package is installed from source. User interaction is required to run composer install or composer update.