PT-2026-84040 · Pnpm · Pnpm
CVE-2026-82393
·
Published
2026-08-31
·
Updated
2026-09-07
CVSS v3.1
7.5
High
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
pnpm versions prior to 10.34.5
pnpm versions prior to 11.11.0
Description
pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because the
pickPackage.ts function rejects slash characters only for unscoped names. During installation, the unvalidated name reaches raw path joins in resolvePeers.ts, index.ts, and lockfileToDepGraph.ts, causing package extraction outside the node modules directory. This allows attacker-controlled files to overwrite arbitrary filesystem paths, such as shell startup files, Git hooks, or installed package code, which can lead to code execution, even when the --ignore-scripts flag is used.Recommendations
Update to version 10.34.5 or later.
Update to version 11.11.0 or later.
Exploit
Fix
Code Injection
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Pnpm