Security mailing lists by PureSourceCode

CVE-2026-59194

HIGH 7.1CVSS 3.1

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

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.

Published
6 Jul 2026
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-73
Also known as
GHSA-72r4-9c5j-mj57
Sources
NVDJSONOSV GHSA-72r4-9c5j-mj57JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pnpm pnpm
cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*
< 10.34.4 10.34.4
NVD pnpm pnpm
cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*
>= 11.0.0, < 11.7.0 11.7.0
OSV npm pnpm < 10.34.4 10.34.4
OSV npm pnpm >= 11.0.0, < 11.7.0 11.7.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 6 Jul 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.