Skip to content
OpenAdvisories
High · 7.1 CVE-2026-59194 EUVD-2026-41881GHSA-72r4-9c5j-mj57

pnpm: patch-remove could delete project-selected files outside the patches directory

Published Jul 6, 2026 · Updated Jul 7, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
pnpm pnpm < 10.34.4, >= 11.0.0, < 11.7.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm pnpm < 10.34.4 10.34.4 GHSA-72r4-9c5j-mj57
npm pnpm >= 11.0.0, < 11.7.0 11.7.0 GHSA-72r4-9c5j-mj57

References