Unbounded gzip decompression of package tarballs allows decompression-bomb DoS.
Does it affect you?
Timeline
28 Nov- Published by the maintainer in pnpm/pnpm28 Nov, 12:19 UTC
- Seen by Patchwire +41 min28 Nov, 13:00 UTC
- Not in the GitHub database 37 h later30 Nov, 01:25 UTC
Versions of pnpm
Related alerts(3)
Same packagesSource summary
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…
- Affected
- pnpm >=11.5.3 <11.28.5
- Fixed in
- 11.28.5
- ID
- GHSA-vhr2-359g-qgjm
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