CVEvulnerability

CVE-2026-59194

7.1 HIGH Published 2026-07-06 Modified 2026-07-07 Official page ↗
Status
Analyzed
Published
2026-07-06
Last modified
2026-07-07
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Weaknesses
CWE-22, CWE-73

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 configurations

• pnpm pnpm (< 10.34.4) • pnpm pnpm (>= 11.0.0 < 11.7.0)

Related

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-73 External Control of File Name or Path weakness

References