getcomposer vulnerabilities (CVE)

CVE records published for getcomposer, newest first. Follow to get an email when a new one appears.

3 results
8.8High
CVE-2026-40261

Composer has Command Injection via Malicious Perforce Reference

composer composer; Red Hat Red Hat Hardened Images

Composer is a dependency manager for PHP. Versions 1.0 through 2.2.26 and 2.3 through 2.9.5 contain a command injection vulnerability in the Perforce::syncCodeBase() method, which appends the $sourceReference parameter to a shell command without proper escapi…

1.7%EPSS
1.3Low
CVE-2025-67746

Composer vulnerable to ANSI sequence injection

composer composer

Composer is a dependency manager for PHP. In versions on the 2.x branch prior to 2.2.26 and 2.9.3, attackers controlling remote sources that Composer downloads from might in some way inject ANSI control characters in the terminal output of various Composer co…