pnpm v11 variations resolution wrapper bypasses npm verifier tarball URL binding, enabling code execution via lockfile.
Does it affect you?
Not read yetConditions are read in the hourly run that brings the advisory in, or a following one.
In pnpm v11 (TypeScript implementation, versions 11.5.3 through 11.28.0), the isRegistryShapedResolution shape check introduced by the CVE-2026-55487 fix allows variations resolution wrappers whose inner resolutions carry http tarball URLs. The npm resolution verifier skips all resolutions with a non-null type field without inspecting inner variants, so an attacker-controlled tarball URL under a variations wrapper escapes the verifier's tarball URL binding entirely. A crafted pnpm-lock.yaml committed to a repository can impersonate an approved package (such as esbuild ) and execute arbitrary…
Timeline
28 Nov- Published by the maintainer in pnpm/pnpm28 Nov, 11:59 UTC
- Seen by Patchwire +1 h28 Nov, 13:00 UTC
- Not in the GitHub database 37 h later30 Nov, 01:25 UTC
Related alerts(3)
Same packages- pnpm runs install or add on a project containing a dependency with a gzip-compressed tarball that expands beyond reasonable limits.
- Affected
- pnpm <11.28.1
- Fixed in
- 11.28.1
- ID
- GHSA-8phr-vrxr-cgqc
Source summary
On the Rust pnpm v12 install path, a dependency's package.json version string is copied verbatim into the global-virtual-store slot directory and never checked for path traversal. When a project runs with enable-global-virtual-store=true , a fresh or resolving install ( pnpm install with no or a stale lockfile, pnpm add , pnpm update ) of an attacker-published tarball or git dependency whose manifest carries a traversal version such as "../../../../../../tmp/PWNED" builds a store-relative path that escapes the store. The escaped directory is created, and the dependency's content-addressed…
- Affected
- pnpm >=12.0.0 <12.10.0
- Fixed in
- 12.10.0
- ID
- GHSA-jg5c-8mvg-5wph
- Using pnpm 12.14.0
- Installing a package containing a tarball entry with a non-normal .. path
- Affected
- pnpm <=12.14.0
- Fixed in
- after 12.14.0
- ID
- GHSA-xf7r-48j6-xg78