VulnerabilityCVE-2026-40176GHSA-wg36-wvj6-r67pWID-SEC-W-2026-1128:CVE-2026-40176
Composer is vulnerable to Command Injection via Malicious Perforce Repository
Not on CISA KEV
Summary
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::generateP4Command() method, which constructs shell commands by interpolating user-supplied Perforce connection parameters (port, user, client)
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- PoC-in-GitHub Source: PoC-in-GitHub