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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-59195— pnpm: Path traversal in configDependencies env lockfile allows symlink creation outside node_modules/.pnpm-config

CVSS 8.2 · High EPSS 0.29% · P21

Affected Version Matrix 2

VendorProductVersion RangeStatus
pnpmpnpm< 10.34.4affected
>= 11.0.0, < 11.8.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-59195

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: Path traversal in configDependencies env lockfile allows symlink creation outside node_modules/.pnpm-config
Source: CVE Program / CVE List V5
Vulnerability Description
pnpm is a package manager. Prior to 10.34.4 and 11.8.0, pnpm accepts package names from the env lockfile configDependencies section and uses those names directly when creating config dependency symlinks under node_modules/.pnpm-config. A malicious repository can commit a crafted pnpm-lock.yaml whose env-lockfile document contains a traversal-shaped config dependency name. During pnpm install, pnpm installs the config dependency and creates a symlink at a path derived from that name. This vulnerability is fixed in 10.34.4 and 11.8.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L
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.34.4之前版本和11.8.0之前版本存在路径遍历漏洞,该漏洞源于接受来自env lockfile configDependencies部分的包名并直接用于创建符号链接,可能导致路径遍历攻击。
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

VendorProductAffected VersionsCPESubscribe
pnpmpnpm < 10.34.4 -

II. Public POCs for CVE-2026-59195

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-59195

登录查看更多情报信息。

Vendor Advisories for CVE-2026-59195 (1)

Same Patch Batch · pnpm · 2026-07-06 · 3 CVEs total

CVE-2026-591967.1 HIGHpnpm: hoisted install imports lockfile alias outside node_modules
CVE-2026-591947.1 HIGHpnpm: patch-remove could delete project-selected files outside the patches directory

IV. Related Vulnerabilities

V. Comments for CVE-2026-59195

No comments yet


Leave a comment