CVE-2026-59194 json
pnpm: patch-remove could delete project-selected files outside the patches directory
published 4mo ago modified 4mo ago also EUVD-2026-41881 , GHSA-72r4-9c5j-mj57
- 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
Is CVE-2026-59194 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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
- 4mo ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-11).
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
-
github.com
/pnpm/pnpm/commit/612a2e6a7333f2b061f452a21b6e62c1c161747f
web
-
github.com
/pnpm/pnpm/commit/352ae489f1b14ffdc19d2c6eacb1b06b098c2ddc
web
-
github.com
/pnpm/pnpm/security/advisories/GHSA-72r4-9c5j-mj57
web, vendor-advisory, exploit, advisory
-
github.com
/pnpm/pnpm
package
Sources
- CVE List CVE-2026-59194
- GitHub Advisory GHSA-72r4-9c5j-mj57
- NVD CVE-2026-59194
- Maintainer advisory GHSA-72r4-9c5j-mj57
Fencer Intel 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.
The maintainers of pnpm/pnpm published their own advisory on GitHub. Reviewed sources take precedence over it.