Cyber Risks · The Hacker News

New PHP Composer Flaws Enable Arbitrary Command Execution — Patches Released

Summary: Two high-severity command injection flaws were disclosed in Composer, the PHP package manager, affecting its Perforce VCS driver, and Composer would execute the injected commands even if Perforce is not installed. Composer said it scanned Packagist.org and found no evidence of exploitation, and disabled publication of Perforce source metadata on Packagist.org as of Friday, April 10th, 2026.

Why it matters: Composer's own maintainers say installations should be updated immediately regardless, and the fallback for teams that cannot patch is to manually inspect composer.json files before every run - a check that depends on someone reading each dependency's Perforce fields.

Read the original at The Hacker News ↗

Topics
Threat Actors & Nation-State
Related