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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-24056— pnpm has symlink traversal in file:/git dependencies

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之前版本存在后置链接漏洞,该漏洞源于安装file:或git:依赖时跟随符号链接,可能导致本地数据泄露。

AI Predicted 7.5 Difficulty: Easy EPSS 0.53% · P43

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-24056

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 symlink traversal in file:/git dependencies
Source: CVE Program / CVE List V5
Vulnerability Description
pnpm is a package manager. Prior to version 10.28.2, when pnpm installs a `file:` (directory) or `git:` dependency, it follows symlinks and reads their target contents without constraining them to the package root. A malicious package containing a symlink to an absolute path (e.g., `/etc/passwd`, `~/.ssh/id_rsa`) causes pnpm to copy that file's contents into `node_modules`, leaking local data. The vulnerability only affects `file:` and `git:` dependencies. Registry packages (npm) have symlinks stripped during publish and are NOT affected. The issue impacts developers installing local/file dependencies andCI/CD pipelines installing git dependencies. It can lead to credential theft via symlinks to `~/.aws/credentials`, `~/.npmrc`, `~/.ssh/id_rsa`. 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之前版本存在后置链接漏洞,该漏洞源于安装file:或git:依赖时跟随符号链接,可能导致本地数据泄露。
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-24056

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

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

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-24131 pnpm has Path Traversal via arbitrary file permission modification

IV. Related Vulnerabilities

V. Comments for CVE-2026-24056

No comments yet


Leave a comment