Skip to main content

CVE-2026-40176 and CVE-2026-40261: Composer Perforce driver command injection

StatusPatched
CVECVE-2026-40176, CVE-2026-40261
AffectsComposer before 2.9.6 and 2.2.27
Action requiredNone
DisclosedApril 15, 2026

What is the vulnerability?

CVE-2026-40176 and CVE-2026-40261 are command injection vulnerabilities in Composer's Perforce VCS driver. Composer fixed both in 2.9.6 (mainline) and 2.2.27 (2.2 LTS).

Are sites on Pantheon affected?

No. The Composer that Pantheon runs for your site is on a fixed release.

What Pantheon has done

Integrated Composer was already on a fixed version when the vulnerabilities were disclosed. Pantheon upgraded the Composer that runs in the platform runtime to 2.9.6.

What you need to do

No action is needed for Composer on Pantheon. If you run your own copy of Composer, for example in a CI pipeline or on your local machine, update it to 2.9.6 or 2.2.27 or later.

References