UBUNTU-CVE-2026-59947
Composer versions prior to 2.2.29 and 2.10.2 may expose credentials embedded in the username portion of repository or package URLs in debug output when run with -vvv verbosity. This occurs because certain components did not sanitize username-only URL credentials, potentially leaking sensitive tokens such as GitHub Personal Access Tokens. The issue is fixed in versions 2.2.29 and 2.10.2.
AI Analysis
Technical Summary
Composer, a PHP dependency manager, had a vulnerability where running it with very verbose debug output (-vvv) could cause credentials embedded in the username field of URLs (e.g., https://TOKEN@host/) to be printed in debug logs. This was due to insufficient sanitization by AuthHelper, Url::sanitize, and ProcessExecutor components. The vulnerability affects multiple Ubuntu-packaged versions of Composer prior to 2.2.29 and 2.10.2. The issue is resolved in these fixed versions.
Potential Impact
The vulnerability can lead to unintended disclosure of sensitive credentials such as personal access tokens in debug output, which could be accessed by unauthorized users with access to these logs. There is no impact on integrity or availability reported. The attack vector requires local access with low privileges and high attack complexity, and no user interaction is needed.
Mitigation Recommendations
Upgrade Composer to version 2.2.29 or later, or 2.10.2 or later, where this issue is fixed. Since this is a local information disclosure vulnerability triggered by debug verbosity, limiting debug output and controlling access to debug logs can reduce exposure until patched.
UBUNTU-CVE-2026-59947
Description
Composer versions prior to 2.2.29 and 2.10.2 may expose credentials embedded in the username portion of repository or package URLs in debug output when run with -vvv verbosity. This occurs because certain components did not sanitize username-only URL credentials, potentially leaking sensitive tokens such as GitHub Personal Access Tokens. The issue is fixed in versions 2.2.29 and 2.10.2.
CVSS v3.1
Score 4.7medium
Affected software
pkg:deb/ubuntu/[email protected]~beta2-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/[email protected]~esm2?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/[email protected]~esm2?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/[email protected]+esm1?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/[email protected]~esm1?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/[email protected]?arch=source&distro=questingpkg:deb/ubuntu/[email protected]?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Composer, a PHP dependency manager, had a vulnerability where running it with very verbose debug output (-vvv) could cause credentials embedded in the username field of URLs (e.g., https://TOKEN@host/) to be printed in debug logs. This was due to insufficient sanitization by AuthHelper, Url::sanitize, and ProcessExecutor components. The vulnerability affects multiple Ubuntu-packaged versions of Composer prior to 2.2.29 and 2.10.2. The issue is resolved in these fixed versions.
Potential Impact
The vulnerability can lead to unintended disclosure of sensitive credentials such as personal access tokens in debug output, which could be accessed by unauthorized users with access to these logs. There is no impact on integrity or availability reported. The attack vector requires local access with low privileges and high attack complexity, and no user interaction is needed.
Mitigation Recommendations
Upgrade Composer to version 2.2.29 or later, or 2.10.2 or later, where this issue is fixed. Since this is a local information disclosure vulnerability triggered by debug verbosity, limiting debug output and controlling access to debug logs can reduce exposure until patched.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-59947
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a58b44c68715ace43d6b5d6
Added to database: 07/16/2026, 10:37:00 UTC
Last enriched: 07/16/2026, 11:28:41 UTC
Last updated: 07/31/2026, 19:24:48 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.