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…

BIT-composer-2026-59946: Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files

0
Medium
Published: 07/14/2026 (07/14/2026, 08:40:58 UTC)
Source: GCVE Database
Product: composer

Description

Composer versions prior to 2.2.29 and 2.10.2 contain a path traversal vulnerability in the package bin field. This flaw allows a package's bin entry with '..' path segments to escape the package install directory. As a result, during composer install, update, or require operations, Composer may chmod an arbitrary existing host file, setting it to world-readable and world-executable permissions. This vulnerability is fixed in versions 2.2.29 and 2.10.2.

Affected software

Bitnamimore threats →ghsa
composer
pkg:bitnami/composer
Affected versions
>=1.0.0 <2.2.29>=2.3.0 <2.10.2

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/14/2026, 11:32:48 UTC

Technical Analysis

Composer, a PHP dependency manager, has a path traversal vulnerability identified as CVE-2026-59946. The issue arises from the handling of the package bin field, where '..' segments can cause Composer to resolve paths outside the intended package directory. This leads to Composer's binary installation process changing the permissions of arbitrary host files to be world-readable and world-executable. The vulnerability affects versions >=1.0.0 <2.2.29 and >=2.3.0 <2.10.2 and is resolved in versions 2.2.29 and 2.10.2.

Potential Impact

An attacker who can supply or influence a package's bin field could cause Composer to modify permissions on arbitrary files on the host system, potentially exposing sensitive files or enabling unauthorized execution. This could lead to privilege escalation or information disclosure depending on the files affected. The vulnerability occurs during normal Composer operations such as install, update, or require.

Mitigation Recommendations

Upgrade Composer to version 2.2.29 or later, or 2.10.2 or later, where this vulnerability is fixed. No other mitigation is necessary as the issue is resolved 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
BIT-composer-2026-59946
Osv Schema Version
1.6.2
Aliases
["CVE-2026-59946"]
Ecosystems
["Bitnami"]
Database Specific Severity
Medium
Cvss Version
null

Threat ID: 6a561c4a68715ace4365a30c

Added to database: 07/14/2026, 11:23:54 UTC

Last enriched: 07/14/2026, 11:32:48 UTC

Last updated: 07/14/2026, 11:32:48 UTC

Views: 3

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