VulnerabilityCVE-2026-40261GHSA-gqw4-4w2p-838qWID-SEC-W-2026-1128:CVE-2026-40261
Composer has Command Injection via Malicious Perforce Reference
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::syncCodeBase() method, which appends the $sourceReference parameter to a shell command without proper escaping, and additionally in the
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