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

Date Jun 27, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product npm · pnpm
High-risk advisory

Summary

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

Why it matters

GitHub has published a reviewed security advisory for pnpm. Prioritize it with other application dependency updates.

Operator check

Check whether pnpm is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.