p PatchFirst

CVE-2026-59194

CVE-2026-59194 · pnpm: patch-remove could delete project-selected files outside the patches directory

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.1 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • pnpm

    Versions
    • < 10.34.4: Affected
    • >= 11.0.0, < 11.7.0: Affected

    No fix published

  • pnpm npm

    Affected ranges
    • SEMVER: < 10.34.4

    Update to 10.34.4

  • pnpm npm

    Affected ranges
    • SEMVER: ≥ 11.0.0, < 11.7.0

    Update to 11.7.0

Original sources

Check your server →