Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

UBUNTU-CVE-2026-59947

0
Medium
Published: 07/08/2026 (07/08/2026, 20:16:00 UTC)
Source: GCVE Database
Product: composer

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

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
composer
pkg:deb/ubuntu/[email protected]~beta2-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial
Affected versions
=1.0.0~alpha10+20150602-1=1.0.0~alpha10+20150602-2=1.0.0~alpha11-1=1.0.0~alpha11-1ubuntu1=1.0.0~alpha11-2=1.0.0~alpha11-3=1.0.0~beta1-1ubuntu1=1.0.0~beta2-1=1.0.0~beta2-1ubuntu0.1~esm1=1.0.0~beta2-1ubuntu0.1~esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
composer
pkg:deb/ubuntu/[email protected]~esm2?arch=source&distro=esm-apps/bionic
Affected versions
=1.5.1-1=1.5.2-1=1.6.2-1=1.6.3-1=1.6.3-1ubuntu0.1~esm1=1.6.3-1ubuntu0.1~esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
composer
pkg:deb/ubuntu/[email protected]~esm2?arch=source&distro=esm-apps/focal
Affected versions
=1.9.0-2=1.9.1-1=1.9.2-1=1.9.3-1=1.10.0-1=1.10.1-1=1.10.1-1ubuntu0.1~esm1=1.10.1-1ubuntu0.1~esm2
Ubuntu:Pro:22.04:LTSmore threats →ghsa
composer
pkg:deb/ubuntu/[email protected]+esm1?arch=source&distro=esm-apps/jammy
Affected versions
=2.0.9-2ubuntu2=2.0.9-2ubuntu3=2.0.13-1ubuntu1=2.1.12-1ubuntu1=2.2.6-2ubuntu4=2.2.6-2ubuntu4+esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
composer
pkg:deb/ubuntu/[email protected]~esm1?arch=source&distro=esm-apps/noble
Affected versions
=2.5.8-1=2.6.5-1=2.6.6-1=2.7.1-2=2.7.1-2ubuntu0.1~esm1
Ubuntu:25.10more threats →ghsa
composer
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=2.8.6-1=2.8.8-1
Ubuntu:26.04:LTSmore threats →ghsa
composer
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
=2.8.8-1=2.9.5-1

Run 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

AILast updated: 07/16/2026, 11:28:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses