Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-59194

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

pnpm pnpm

  • < 10.34.4affected
  • >= 11.0.0, < 11.7.0affected

References