Skip to main content
VulnerabilityPublished Updated

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

Affects composerSource GCVE Database

0
Compare

Not known to be exploited : upgrade to 2.10.2 or 2.2.29 when convenient.

Data as of 26 Nov 2026, 14:59 UTC

Severity
Medium

Rated by Threat Radar · No CVSS score from NVD or the CNA

EPSS
0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.10.2, 2.2.29

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade composer to 2.10.2 or 2.2.29; composer/composer to 2.10.2; composer/composer to 2.2.29.

Affected software

ProductAffectedFixed in
Bitnamicomposerpkg:bitnami/composerOther threatsAffected
  • >=1.0.0 <2.2.29
  • >=2.3.0 <2.10.2
Fixed in
  • 2.2.29
  • 2.10.2
Packagistcomposer/composerpkg:composer/composer/composerOther threatsAffected
  • 2.3.0 – 2.10.1
  • >=2.3.0 <2.10.2
70 affected builds
Fixed in
  • 2.10.2
Packagistcomposer/composerpkg:composer/composer/composerOther threatsAffected
  • 1.0.0 – 2.2.28
  • >=1.0.0 <2.2.29
149 affected builds
Fixed in
  • 2.2.29

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Composer to version 2.2.29 or later, or 2.10.2 or later, where this issue is fixed. Avoid running Composer with -vvv verbosity in environments where logs may be exposed until upgraded. Patch status is confirmed fixed in these versions.

Description

Composer versions prior to 2.2.29 and 2.10.2 may leak HTTP Basic authentication credentials embedded in URLs to verbose debug logs when run with -vvv verbosity. This includes sensitive tokens such as GitHub Personal Access Tokens in the username portion of repository or package URLs. The issue arises because certain components did not sanitize username-only credentials in URLs before logging. Fixed versions 2.2.29 and 2.10.2 address this by properly sanitizing such credentials in debug output.

References

Community reviews

Loading reviews…