Advisory record · GHSA-g6xq-892h-64w3

Composer: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)

CVSS 4.7 MediumEPSS 0.0012 · 1st percentile

Published by the GitHub Advisory Database at 20 Jul 2026, 21:55 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
composer/composerPackagist>=2.3.0, <2.10.2 || >=1.0.0, <2.2.292.10.2, 2.2.29
Identifiers
GHSA-g6xq-892h-64w3 · BIT-composer-2026-59947 · CVE-2026-59947 · PKSA-4pm6-g63v-5rkr
Weakness (CWE)
CWE-532
Published
20 Jul 2026
Updated
20 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Composer versions from 1.0.0 before 2.2.29 and from 2.3.0 before 2.10.2 are affected. When run with -vvv debug verbosity, Composer could print a credential placed in the username position of a repository or package URL, such as a GitHub access token, in clear text to its debug output. An attacker who can read that output, such as public CI logs, can obtain the token. Upgrade to Composer 2.2.29 or 2.10.2. If you cannot upgrade, avoid -vvv where output is captured or shared, and move credentials into auth.json or COMPOSER_AUTH.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.7 Medium 3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0012, the 1st percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 1 Jul 2026, 09:31 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:25 UTC First seen by agentprime
  3. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.