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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-82393— pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install

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.11.0 之前,pnpm 存在一个作用域(scoped)路径穿越漏洞,源于其 tarball 依赖包的 清单中的 字段未被充分验证。具体原因是,在 中,仅对非作用域(unscoped)名称中的斜杠字符进行了拒绝处理,而对作用域名称则未做同样限制。 在 过程中,这个未经充分验证的包名会流入 、 以及 中的原始路径拼接逻辑,导致包被解压到 目录之外。这使得攻击者能够控制文件覆盖任意文件系统路径,即使使用了 选项,覆盖行为依然会发生。 这种文件覆盖可能替换 shel

CVSS 7.5 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-82393

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: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install
Source: CVE Program / CVE List V5
Vulnerability Description
pnpm is a package manager. Prior to 10.34.5 and 11.11.0, pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because pnpm11/resolving/npm-resolver/src/pickPackage.ts rejects slash characters only for unscoped names. During pnpm install, the unvalidated name reaches raw path joins in pnpm11/installing/deps-resolver/src/resolvePeers.ts, pnpm11/installing/deps-resolver/src/index.ts, and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts, causing package extraction outside node_modules and allowing attacker-controlled files to overwrite arbitrary filesystem paths even when --ignore-scripts is used. The overwrite can replace shell startup files, Git hooks, or installed package code and lead to code execution. 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:H/PR:N/UI:R/S:U/C:H/I:H/A:H
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-82393

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

登录查看更多情报信息。

Other References for CVE-2026-82393 (7)

IV. Related Vulnerabilities

V. Comments for CVE-2026-82393

No comments yet


Leave a comment