Inclusion of Sensitive Information in Log Files in composer - CVE-2026-59947

 

Inclusion of Sensitive Information in Log Files in composer - CVE-2026-59947

Published: July 1, 2026


Vulnerability identifier: #VU136611
CSH Severity: Low
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59947
CWE-ID: CWE-532
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to disclose sensitive information.

The vulnerability exists due to insertion of sensitive information into log files in Composer debug output when handling repository or package URLs with credentials embedded in the username field. A local user can run Composer with debug verbosity and cause an embedded access token to be written to verbose logs to disclose sensitive information.

Exposure occurs only when a credential is embedded in a handled URL, placed in the username slot, and the debug output is retained or shared where others can read it.


Affected software

composer
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Web and Scripting Module
openSUSE Leap
php-composer2

How to mitigate CVE-2026-59947

Install security update from vendor's website.

composer - addressed in versions 2.2.29, 2.10.2
php-composer2 - update to 2.6.4-150600.3.12.1

External References

Related Security Bulletins