Skip to main content
← All vulnerabilities
CVE-2026-50573GHSA-54HH-G5MX-JQCP

pnpm: Unsafe default behavior breaks integrity check

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 10.33.4, 11.4.0, 10.34.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

pnpm is a package manager. Prior to 10.34.0 and 11.4.0, `pnpm install` in non-frozen mode can accept new remote package content after detecting that the downloaded tarball does not match the integrity recorded in pnpm-lock.yaml. When a package is already locked with an integrity value, and the registry later serves different metadata and tarball content for the same package name and version, pnpm initially reports an integrity mismatch. However, plain pnpm install then performs a resolution repair, accepts the registry's new integrity, updates the lockfile, installs the new content, and exits successfully. This means the lockfile integrity check does not act as a hard stop by default. This vulnerability is fixed in 10.34.0 and 11.4.0.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • pnpm pnpm

    fixed in 10.33.4; From 11.0.0 · fixed in 11.4.0

  • pnpmnpm

    fixed in 10.34.0

  • pnpmnpm

    From 11.0.0 · fixed in 11.4.0

References 1

GitHub · pnpm/pnpm