CVE-2026-59194
HIGHpnpm: patch-remove could delete project-selected files outside the patches directory
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/pnpm/pnpm/security/advisories/GHSA-72r4-9c5j-mj57
Scores
CVSS v3
7.1
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Details
CWE
CWE-22
CWE-73
Status
published
Products (2)
pnpm/pnpm
< 10.34.4
pnpm/pnpm
>= 11.0.0, < 11.7.0
Published
Jul 06, 2026
Tracked Since
Jul 06, 2026