CVE-2026-59194 pnpm: patch-remove could delete project-selected files outside the patches directory
HighCVSS 7.1
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm pnpm(npm) | < 10.34.4; >= 11.0.0, < 11.7.0 | 10.34.4, 11.7.0 | Fixed |
| pnpm | < 10.34.4; = < 10.34.4; = >= 11.0.0, < 11.7.0; >= 11.0.0, < 11.7.0 | 10.34.4, 11.7.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pnpm | = < 10.34.4 | No fix listed |
| pnpm | = >= 11.0.0, < 11.7.0 | No fix listed |
| pnpm | < 10.34.4 | 10.34.4 |
| pnpm | >= 11.0.0, < 11.7.0 | 11.7.0 |
| npm pnpm(npm) | < 10.34.4 | 10.34.4 |
| npm pnpm(npm) | >= 11.0.0, < 11.7.0 | 11.7.0 |
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-72r4-9c5j-mj57 exploit vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2497373 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- github.com product
- github.com