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

Goal: 1000 CNY · Raised: 1336 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 是一个包管理器。在 10.34.5 之前以及 11.0.0 到 11.11.0 之间,pnpm 使用 从攻击者可控制的 中的包键名解析包名,并在 和 中未经验证地使用了该包名。该包名随后被传递到 、 以及 。当用户运行 时,这允许将包内容写入 目录之外。如果 或匹配的 条目允许执行生命周期脚本,那么逃逸出的包就可以以用户权限执行代码。该问题已在版本 10.34.5 和 11.11.0 中修复。

CVSS 7.1 · High
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

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

登录查看更多情报信息。

Other References for CVE-2026-82392 (7)

IV. Related Vulnerabilities

V. Comments for CVE-2026-82392

No comments yet


Leave a comment