CVE-2026-50573CWE-345

pnpm: Unsafe default behavior breaks integrity check

Medium · published June 25, 2026

CVSS v3.1
6.8
EPSS
0%
Percentile
5.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.7th percentile
Weakness
CWE-345 · Insufficient Verification of Data Authenticity
Published
2026-06-25T16:50Z
EPSS history
Timeline
  • 25 JUN 16:50Z
    pnpm: Unsafe default behavior breaks integrity check
    cvelistv5