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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-24131— pnpm has Path Traversal via arbitrary file permission modification

Quick assessment

Affected
pnpm pnpm
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.

pnpm是pnpm开源的一个包管理器。 pnpm 10.28.2之前版本存在安全漏洞,该漏洞源于处理包的directories.bin字段时未验证路径,可能导致恶意npm包在Unix/Linux/macOS系统上修改任意位置文件的权限。

AI Predicted 7.8 Difficulty: Moderate EPSS 0.28% · P18

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-24131

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
pnpm has Path Traversal via arbitrary file permission modification
Source: CVE Program / CVE List V5
Vulnerability Description
pnpm is a package manager. Prior to version 10.28.2, when pnpm processes a package's `directories.bin` field, it uses `path.join()` without validating the result stays within the package root. A malicious npm package can specify `"directories": {"bin": "../../../../tmp"}` to escape the package directory, causing pnpm to chmod 755 files at arbitrary locations. This issue only affects Unix/Linux/macOS. Windows is not affected (`fixBin` gated by `EXECUTABLE_SHEBANG_SUPPORTED`). Version 10.28.2 contains a patch.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
pnpm 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pnpm是pnpm开源的一个包管理器。 pnpm 10.28.2之前版本存在安全漏洞,该漏洞源于处理包的directories.bin字段时未验证路径,可能导致恶意npm包在Unix/Linux/macOS系统上修改任意位置文件的权限。
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
pnpm pnpm < 10.28.2 -

II. Public POCs for CVE-2026-24131

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

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

Vendor Advisories for CVE-2026-24131 (1)

Same Patch Batch · pnpm · 2026-01-26 · 5 CVEs total

CVE-2026-23890 6.5 MEDIUM pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.b
CVE-2026-23888 6.5 MEDIUM pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip)
CVE-2026-23889 6.5 MEDIUM pnpm has Windows-specific tarball Path Traversal
CVE-2026-24056 pnpm has symlink traversal in file:/git dependencies

IV. Related Vulnerabilities

V. Comments for CVE-2026-24131

No comments yet


Leave a comment