CVE-2026-59194
pnpm: patch-remove could delete project-selected files outside the patches directory
- State
- Published
- Severity
- 7.1 High
- Published
- Jul 6, 2026
- Updated
- Jul 7, 2026
- Reserved
- Jul 2, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.1 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L | GitHub_M |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
pnpmpnpm |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.