Scworld Critical Command Injection Vulnerabilities in Composer's Perforce Driver
Article Content
- •Two critical vulnerabilities in Composer's Perforce driver allow command injection.
- •CVE-2026-40176 and CVE-2026-40261 require immediate updates to Composer versions 2.9.6 or 2.2.27.
- •Exploitation can occur through malicious composer.json files or compromised repositories.
Two command injection vulnerabilities, CVE-2026-40176 and CVE-2026-40261, have been identified in Composer's Perforce VCS driver, allowing attackers to execute arbitrary commands on user systems. CVE-2026-40176, affecting the Perforce::generateP4Command() method, can be exploited through malicious Perforce connection parameters in composer.json files.
CVE-2026-40261 impacts the Perforce::syncCodeBase() method, enabling command injection via crafted source references from compromised repositories. Both vulnerabilities stem from insufficient input validation and escaping, posing significant risks when using untrusted projects. Composer versions 2.9.6 and 2.2.27 (LTS) have been released to address these issues.
Users are advised to update immediately and avoid installing from source when possible. No exploitation attempts have been detected as of the publication date.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (5)
Following this threat?
Track CVE-2026-40176 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Continue Reading
React Server Components RCE Vulnerability CVE-2025-55182 Disclosed and Patched A critical unauthenticated remote code execution vulnerability, CVE-2025-55182, exists in React Server Components, reported by Lachlan Davidson on November 29 and rated CVSS 10.0. The flaw lies in how React decodes payloads sent to React Server Function endpoints. Vulnerable versions are 19.0, 19.1.0, 19.1.1, and…
Chinese-speaking cluster deploys EAGERBEE, ShadowRelay and PhantomNet backdoors in Russian and Belarusian networks Securelist researchers monitoring EAGERBEE (also tracked as Donnect, Thumtais and HDMan), a modular backdoor used by several Chinese-speaking groups including CoughingDown, Worok and Obstinate Mogwai, found telemetry from dozens of infected hosts in Russia and Belarus. They identified a previously undocumented…