Insufficiently protected credentials in composer - #VU165349
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote attacker to obtain a repository's inline HTTP header credential.
The vulnerability exists due to insufficiently protected credentials in Composer's repository header handling when reattaching secret-bearing headers to downloads from untrusted mirrors. A remote attacker can craft composer.lock or vendor/composer/installed.json to specify a preferred attacker-controlled download mirror and induce a victim to run composer install to receive the repository credential at that mirror.