Laravel-News 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
Critical Zero-Day Exploited in BeyondTrust Remote Support by China-linked Group A critical vulnerability in BeyondTrust Remote Support, tracked as CVE-2026-102764 with a CVSS score of 9.3, has been exploited by the China-linked espionage group Armory Castle since August 29, 2026. This flaw allows unauthenticated remote attackers to perform file operations, gaining root control and access to…
Silent Lynx Targets CIS Governments via WinRAR Exploit The threat actor Silent Lynx has launched a series of attacks against government organizations in the Commonwealth of Independent States (CIS) from June 2025 to August 2026. These attacks exploit a vulnerability in WinRAR (CVE-2025-8088) to deploy reverse shells, including FoalShell and PickleShell, facilitating…