OS Command Injection in composer - CVE-2026-84361
Published: August 27, 2026 / Updated: September 2, 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.
Affected software
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
Web and Scripting Module
openSUSE Leap
php-composer2
How to mitigate CVE-2026-84361
php-composer2 - addressed in versions 2.2.30-150400.3.21.1, 2.6.4-150600.3.18.1