CVE-2026-50021CWE-354

pnpm: Integrity Check Bypass via Missing Lockfile Integrity Field

Medium · published June 25, 2026

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

pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm's tarball extraction worker skips integrity verification when the integrity field is absent from the lockfile resolution. If an attacker can both modify pnpm-lock.yaml to remove the integrity: field and cause the referenced registry URL to serve altered package content, pnpm install --frozen-lockfile can install the altered package without an integrity error. npm's npm ci enforces integrity by default; pnpm's behavior of silently skipping verification is a pnpm-specific fail-open gap. 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:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00181 · 7.3th percentile
Weakness
CWE-354 · Improper Validation of Integrity Check Value
Published
2026-06-25T16:48Z
EPSS history
Timeline
  • 25 JUN 16:48Z
    pnpm: Integrity Check Bypass via Missing Lockfile Integrity Field
    cvelistv5