Skip to content

CVE-2026-50021 pnpm: Integrity Check Bypass via Missing Lockfile Integrity Field

HighCVSS 8.1 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm pnpm(npm) < 10.34.1; >= 11.0.0, < 11.4.0 10.34.1, 11.4.0 Fixed
pnpm < 10.34.0; = < 10.34.0; = >= 11.0.0, < 11.4.0; >= 11.0.0, < 11.4.0 10.34.0, 11.4.0 Fixed

Affected products

ProductAffected versionsFixed in
pnpm = < 10.34.0 No fix listed
pnpm = >= 11.0.0, < 11.4.0 No fix listed
npm pnpm(npm) >= 11.0.0, < 11.4.0 11.4.0
npm pnpm(npm) < 10.34.1 10.34.1
pnpm < 10.34.0 10.34.0
pnpm >= 11.0.0, < 11.4.0 11.4.0

References