Read the docs
TI-2026-42753 Aliases CVE-2026-59947GHSA-g6xq-892h-64w3

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

Priority LOW 20CWE-532Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-532.

Summary

Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, when Composer is run with -vvv debug verbosity, it could print a credential embedded in the username slot of a repository or package URL, such as a GitHub Personal Access Token in https://TOKEN@host/, to debug output because AuthHelper, Url::sanitize, and ProcessExecutor did not sanitize username-only URL credentials. This issue is fixed in versions 2.2.29 and 2.10.2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0012 1st percentileScored 2026-11-07
Fix Fixed composer (composer): 2.2.29, 2.10.2composer/composer (Packagist): 2.10.2, 2.2.29

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
composercomposer1.0 to before 2.2.29; 2.3.0 to before 2.10.22.2.29, 2.10.2Patch availableCNA
—composer/composer (Packagist)2.3.0 to before 2.10.22.10.2Patch availableGHSA-g6xq-892h-64w3
—composer/composer (Packagist)1.0.0 to before 2.2.292.2.29Patch availableGHSA-g6xq-892h-64w3
  • composer Vendorcomposer Affected 1.0 to before 2.2.29; 2.3.0 to before 2.10.2 Fixed in 2.2.29, 2.10.2 Patch available CNA
  • composer/composer (Packagist) Vendor— Affected 2.3.0 to before 2.10.2 Fixed in 2.10.2 Patch available GHSA-g6xq-892h-64w3
  • composer/composer (Packagist) Vendor— Affected 1.0.0 to before 2.2.29 Fixed in 2.2.29 Patch available GHSA-g6xq-892h-64w3

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*——composer
  • cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* Versions — — ·composer

Remediation

  • Fix · CNA composer (composer) Fixed in 2.2.29, 2.10.2
  • Fix · GHSA-g6xq-892h-64w3 composer/composer (Packagist) Fixed in 2.10.2 Advisory →
  • Fix · GHSA-g6xq-892h-64w3 composer/composer (Packagist) Fixed in 2.2.29 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-59947
  2. 2026-10-03 Alias added: GHSA-g6xq-892h-64w3

References

  • TI-2015-06892 Composer before 2016-02-10 allows cache poisoning from other projects built on the same… CVSS 3.1HIGH 8.8
  • TI-2021-17955 Command injection in composer on Windows CVSS 3.1CRITICAL 9.8
  • TI-2024-23311 Composer vulnerable to command injection via malicious git/hg branch names CVSS 3.1HIGH 8.8
  • TI-2021-10185 Code injection in composer CVSS 3.1HIGH 8.8
  • TI-2022-08641 Missing input validation can lead to command execution in composer CVSS 3.1HIGH 8.8
  • TI-2026-29055 Composer has Command Injection via Malicious Perforce Reference CVSS 3.1HIGH 8.8
See all 17 →

Sources