Command Injection Vulnerability in Composer Dependency Manager by Composer
CVE-2026-84361

7.7HIGH

Key Information:

Vendor

Composer

Status
Vendor
CVE Published:
1 September 2026

What is CVE-2026-84361?

A command injection vulnerability exists in Composer, the PHP dependency manager, affecting versions up to 2.2.30 and 2.10.3. Malicious dependency packages from untrusted sources can manipulate Composer's configuration to pass unsafe commands to the Perforce p4 client. This occurs when Composer installs packages with an unvalidated source type and URL, allowing an attacker to execute local commands with the privileges of the user or CI account. The issue has been addressed in the latest releases of Composer, specifically versions 2.2.30 and 2.10.3.

Affected Version(s)

composer >= 1.0, < 2.2.30 < 1.0, 2.2.30

composer >= 2.3.0, < 2.10.3 < 2.3.0, 2.10.3

References

CVSS V4

Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.