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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-82392— pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraph

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团队开源的一款高效的JavaScript包管理器。 pnpm 10.34.5之前版本和11.0.0至11.11.0之前版本存在路径遍历漏洞,该漏洞源于解析攻击者控制的pnpm-lock.yaml包名后未进行验证,导致包内容可被写入node_modules目录之外,当允许生命周期脚本时,可能以用户权限执行代码。

CVSS 7.1 · High EPSS 0.61% · P49

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
pnpm pnpm < 10.34.5 affected
>= 11.0.0, < 11.11.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-82392

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: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraph
Source: CVE Program / CVE List V5
Vulnerability Description
pnpm is a package manager. Prior to 10.34.5 and from 11.0.0 until 11.11.0, pnpm parses the package name from attacker-controlled pnpm-lock.yaml packages keys with dp.parse(depPath).name and uses it without validation in deps/graph-builder/src/lockfileToDepGraph.ts and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts. The name reaches path.join(modules, pkgName), storeController.importPackage, and pnpm11/lockfile/to-pnp/src/index.ts, allowing package contents to be written outside node_modules when a user runs pnpm install. When dangerouslyAllowAllBuilds or a matching allowBuilds entry permits lifecycle scripts, the escaped package can execute code with the user's privileges. This issue is fixed in versions 10.34.5 and 11.11.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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团队开源的一款高效的JavaScript包管理器。 pnpm 10.34.5之前版本和11.0.0至11.11.0之前版本存在路径遍历漏洞,该漏洞源于解析攻击者控制的pnpm-lock.yaml包名后未进行验证,导致包内容可被写入node_modules目录之外,当允许生命周期脚本时,可能以用户权限执行代码。
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.34.5 -

II. Public POCs for CVE-2026-82392

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

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

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

Vendor Advisories for CVE-2026-82392 (1)

Vendor Pages for CVE-2026-82392 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-82392

No comments yet


Leave a comment