CVE-2026-59194Published Jul 6, 2026 · Jul 6Updated Oct 28
pnpm: patch-remove could delete project-selected files outside the patches directory
pnpm
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pnpm npm |
|
|
Original description
pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted patch entry could resolve outside the configured patches directory and cause pnpm patch-remove to delete an arbitrary reachable file. This vulnerability is fixed in 10.34.4 and 11.7.0.
From the CVE record · GitHub_M