PHP Composer -- Multiple vulnerabilities
· CVE-2026-40261, CVE-2026-40176 · VuXML entry
Composer project reports: Fixed command injection via malicious Perforce reference (GHSA-gqw4-4w2p-838q / CVE-2026-40261) Fixed command injection via malicious Perforce repository definition (GHSA-wg36-wvj6-r67p / CVE-2026-40176)
Affected versions
- php82-composer, php83-composer, php84-composer, php85-composer < 2.9.6
By system
0 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| FreeBSD | devel/php-composer | 2.10.3 | fixed | (81 days after) |
| NetBSD | devel/php-composer | 2.2.18nb1 | not listed | |
| MidnightBSD | devel/php-composer | 2.10.3 | out of range, by version |