CVE-2026-59194 json
pnpm: patch-remove could delete project-selected files outside the patches directory
published 2026-06-27 4 mo ago modified 2026-07-08 4 mo ago also GHSA-72r4-9c5j-mj57 , EUVD-2026-41881
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm pnpm 10.34.4, 11.7.0
- pnpm pnpm 10.34.4, 11.7.0
- github.com/pnpm/pnpm@612a2e6 commit
- github.com/pnpm/pnpm@352ae48 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-59194 updated cvss 7.1
pnpm: pnpm: patch-remove could delete project-selected files outside the patches directory
-
Red Hat AMQ Broker 7 pnpm 8.10.0not affected: vulnerable code not present
-
Red Hat Build of Keycloak pnpm 8.10.0not affected: component not present
-
Red Hat JBoss Enterprise Application Platform 8 pnpm 8.10.0 Red Hat JBoss Enterprise Application Platform Expansion Pack pnpm 8.10.0not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pnpm/pnpm/security/advisories/GHSA-72r4-9c5j-mj57 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | pnpm | <10.34.4 >=11.0.0, <11.7.0 |
10.34.4 11.7.0 |
Affected products
- pnpm pnpm
Classification
References
Sources
- CVE List CVE-2026-59194
- GitHub Advisory GHSA-72r4-9c5j-mj57
- NVD CVE-2026-59194
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.