PT-2026-56550 · Composer · Composer

·

CVE-2026-59947

·

Published

2026-07-08

·

Updated

2026-08-03

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Composer versions prior to 2.2.29 Composer versions prior to 2.10.2
Description When run with -vvv debug verbosity, the software may print credentials embedded in the username slot of a repository or package URL (for example, a GitHub Personal Access Token in https://TOKEN@host/) to the debug output. This occurs because the AuthHelper, Url::sanitize, and ProcessExecutor functions do not sanitize username-only URL credentials.
Recommendations Update to version 2.2.29 or later. Update to version 2.10.2 or later.

Exploit

Fix

Insertion into Log File

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-COMPOSER-2026-59947
CVE-2026-59947
GHSA-G6XQ-892H-64W3
OPENSUSE-SU-2026:11268-1
OPENSUSE-SU-2026:21520-1
SUSE-SU-2026:23116-1
SUSE-SU-2026:23138-1
SUSE-SU-2026:3105-1

Affected Products

Composer