Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
composer composer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Composer是Composer组织开源的一个应用软件。提供一个声明,管理和安装PHP项目的依赖项。 Composer 2.2.29之前版本和2.10.2之前版本存在安全漏洞,该漏洞源于包含“..”路径段的包二进制条目解析到安装目录之外,导致在composer install、update或require过程中将现有主机文件修改为全局可读和可执行模式。

CVSS 6.1 · Medium EPSS 0.17% · P6

Affected Version Matrix 2

VendorProduct Version RangeStatus
composer composer >= 1.0, < 2.2.29 affected
>= 2.3.0, < 2.10.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-59946

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files
Source: CVE Program / CVE List V5
Vulnerability Description
Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a Composer package bin entry containing .. path segments can resolve outside the package install directory and cause Composer's binary installation flow to chmod an existing host file to a world-readable and world-executable mode during composer install, update, or require. This issue is fixed in versions 2.2.29 and 2.10.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Composer 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Composer是Composer组织开源的一个应用软件。提供一个声明,管理和安装PHP项目的依赖项。 Composer 2.2.29之前版本和2.10.2之前版本存在安全漏洞,该漏洞源于包含“..”路径段的包二进制条目解析到安装目录之外,导致在composer install、update或require过程中将现有主机文件修改为全局可读和可执行模式。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
composer composer >= 1.0, < 2.2.29 -

II. Public POCs for CVE-2026-59946

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-59946

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-59946 (3)

Vendor Advisories for CVE-2026-59946 (1)

Vendor Pages for CVE-2026-59946 (1)

Same Patch Batch · composer · 2026-07-08 · 3 CVEs total

CVE-2026-59948 7.0 HIGH Composer: Arbitrary file write outside vendor via malicious transitive package name
CVE-2026-59947 4.7 MEDIUM Composer: URL-embedded HTTP-Basic username leaks to verbose logs (GitHub PAT exposure)

IV. Related Vulnerabilities

V. Comments for CVE-2026-59946

No comments yet


Leave a comment