Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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