Improper validation of integrity check value in pnpm - CVE-2026-50021
Published: June 15, 2026
pnpm
Detailed vulnerability description
The vulnerability allows a remote user to install altered package content without an integrity error.
The vulnerability exists due to improper validation of integrity check value in the tarball extraction worker when processing lockfile resolutions that omit the integrity field. A remote user can modify pnpm-lock.yaml to remove the integrity field and cause the referenced registry URL to serve altered package content to install altered package content without an integrity error.
The issue affects pnpm install with --frozen-lockfile because integrity verification is silently skipped when the lockfile entry lacks an integrity value.