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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-59944— Composer: CVE-2026-59946 fix bypass via symlinked package bin path

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 是 PHP 语言的依赖管理工具。在 1.0 至 2.2.30 以及 2.3.0 至 2.10.3 版本中,恶意或已被攻陷的依赖包可以绕过之前 CVE-2026-59946 中引入的二进制文件路径加固措施。原因在于,Composer 仅在依赖解析阶段校验字面的父目录段,而该安全公告中描述的符号链接路径和已安装元数据路径则跳过了这一校验。具体而言,一个包可以内置一个包内二进制文件的符号链接,使其解析到安装目录之外;或者,受攻击者影响的 元数据可以在重新安装或重建缺失的 条目时,提供一个逃逸出该目录的二

CVSS 6.1 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-59944

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: CVE-2026-59946 fix bypass via symlinked package bin path
Source: CVE Program / CVE List V5
Vulnerability Description
Composer is a dependency Manager for the PHP language. From 1.0 until 2.2.30 and from 2.3.0 until 2.10.3, a malicious or compromised dependency can bypass the earlier CVE-2026-59946 binary-path hardening because Composer validates literal parent-directory segments only during dependency resolution, while the symlink and installed-metadata paths described by the advisory skip that validation. A package can ship an in-package binary symlink that resolves outside its installation directory, or attacker-influenced vendor/composer/installed.json metadata can provide an escaping binary path during a reinstall or regeneration of missing vendor/bin entries. The installed-metadata path is reachable only when the vendor directory was not populated by the same validated install run, such as when it is restored from an untrusted cache, copied from an earlier build stage, carried over from an older Composer run, or writable by a lower-trust build step. Composer can follow the path, change the external target's permissions to make it world-readable and executable, and create a runnable vendor/bin proxy to that external file. The issue does not directly read or transmit data and does not by itself provide remote code execution. This issue is fixed in versions 2.2.30 and 2.10.3.
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

Affected Products

Vendor Product Affected Versions CPE Subscribe
composer composer >= 1.0.0, < 2.2.30 -

II. Public POCs for CVE-2026-59944

# 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-59944

登录查看更多情报信息。

Patches & Fixes for CVE-2026-59944 (2)

Vendor Pages for CVE-2026-59944 (2)

Other References for CVE-2026-59944 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-59944

No comments yet


Leave a comment