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 96%

UBUNTU-CVE-2026-59948

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

Description

Composer, a PHP dependency manager, has a vulnerability in versions prior to 2.2.29 and 2.10.2 where a malicious package from an untrusted repository can cause files to be written outside the intended directories during install or update. This occurs due to improper validation of package names before dependency resolution. The issue is fixed in versions 2.2.29 and 2.10.2.

CVSS v3.1

Score 7.0high

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

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:26 UTC

Technical Analysis

Composer versions before 2.2.29 and 2.10.2 allow a maliciously crafted package from untrusted repositories (other than Packagist.org or Private Packagist) to write attacker-controlled files outside the vendor directory and project root during install or update. This is caused by insufficient validation of invalid package names before dependency resolution results are written or installed. The vulnerability is addressed in Composer versions 2.2.29 and 2.10.2.

Potential Impact

An attacker controlling a package in an untrusted repository can cause Composer to write files outside the expected directories, potentially leading to arbitrary file write and compromise of the project environment. This could result in full confidentiality, integrity, and availability impact on the affected system as indicated by the CVSS vector.

Mitigation Recommendations

Upgrade Composer to version 2.2.29 or later, or 2.10.2 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in these versions.

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-59948
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: 6a58b44c68715ace43d6b5d1

Added to database: 07/16/2026, 10:37:00 UTC

Last enriched: 07/16/2026, 11:28:26 UTC

Last updated: 07/31/2026, 19:24:46 UTC

Views: 5

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