CVE-2026-59947
Published:July 08, 2026
Updated:August 04, 2026
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.
Affected Packages
https://github.com/composer/composer.git (GITHUB):
Affected version(s) >=2.3.0 <2.10.2Fix Suggestion:
Update to version 2.10.2https://github.com/composer/composer.git (GITHUB):
Affected version(s) >=1.0.0-alpha1 <2.2.29Fix Suggestion:
Update to version 2.2.29composer/composer (PHP):
Affected version(s) >=2.3.0 <2.10.2Fix Suggestion:
Update to version 2.10.2composer/composer (PHP):
Affected version(s) >=1.0.0 <2.2.29Fix Suggestion:
Update to version 2.2.29composer/composer (PHP):
Affected version(s) >=1.0.0 <2.2.29Fix Suggestion:
Update to version 2.2.29Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.7
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.7
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Insertion of Sensitive Information into Log File
EPSS
Base Score:
0.12