CVE-2026-50021

Medium

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.

SeverityMedium
CVSS6.8
Exploit probability—
ProductPnpm
PublishedJun 25, 2026
First seenJun 25, 2026
Weakness typeCWE-354CWE-354

How to fix

Update
  • pnpm pnpm10.34.0, 11.4.0 or later
  • pnpm11.4.0, 10.34.1 or later

Affected products

ProductAffected versionsFixed in
pnpm pnpmv < 10.34.0, 11.0.0 ≤ v < 11.4.010.34.0, 11.4.0
pnpmnpm11.0.0 ≤ v < 11.4.0, v < 10.34.111.4.0, 10.34.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.