UBUNTU-CVE-2026-59946
Composer versions prior to 2.2.29 and 2.10.2 contain a vulnerability where a package bin entry with '..' path segments can cause Composer to change permissions of an existing host file to world-readable and world-executable during install, update, or require operations. This issue allows unintended permission changes on host files. The vulnerability is fixed in Composer versions 2.2.29 and 2.10.2.
AI Analysis
Technical Summary
Composer, a PHP dependency manager, had a vulnerability in versions before 2.2.29 and 2.10.2 where package bin entries containing '..' path segments could escape the package install directory. This flaw caused Composer's binary installation process to chmod an existing host file, making it world-readable and world-executable during composer install, update, or require commands. The issue is resolved in versions 2.2.29 and 2.10.2.
Potential Impact
The vulnerability can lead to unintended modification of file permissions on the host system, potentially exposing sensitive files to unauthorized read and execute access. This could compromise confidentiality but does not directly affect integrity or availability according to 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 indicated. Patch status is confirmed fixed in these versions.
UBUNTU-CVE-2026-59946
Description
Composer versions prior to 2.2.29 and 2.10.2 contain a vulnerability where a package bin entry with '..' path segments can cause Composer to change permissions of an existing host file to world-readable and world-executable during install, update, or require operations. This issue allows unintended permission changes on host files. The vulnerability is fixed in Composer versions 2.2.29 and 2.10.2.
CVSS v3.1
Score 6.1medium
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 in versions before 2.2.29 and 2.10.2 where package bin entries containing '..' path segments could escape the package install directory. This flaw caused Composer's binary installation process to chmod an existing host file, making it world-readable and world-executable during composer install, update, or require commands. The issue is resolved in versions 2.2.29 and 2.10.2.
Potential Impact
The vulnerability can lead to unintended modification of file permissions on the host system, potentially exposing sensitive files to unauthorized read and execute access. This could compromise confidentiality but does not directly affect integrity or availability according to 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 indicated. Patch status is confirmed fixed in these versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-59946
- 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: 6a58b44c68715ace43d6b5db
Added to database: 07/16/2026, 10:37:00 UTC
Last enriched: 07/16/2026, 11:28:57 UTC
Last updated: 07/31/2026, 19:24:46 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.