Information disclosure in composer - #VU159578
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to obtain repository credentials from a shared composer.lock file.
The vulnerability exists due to Composer copying options.http.header values into the lock file when downloading package archives under a Composer-type repository's URL, even when the repository is configured outside the project in global config.json. An unauthenticated remote attacker can read these credentials if a developer generates and shares the lock file with unauthorized readers.