VYPR
Medium severity6.8NVD Advisory· Published Jun 25, 2026· Updated Jun 29, 2026

CVE-2026-50021

CVE-2026-50021

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pnpmnpm
>= 11.0.0, < 11.4.011.4.0
pnpmnpm
< 10.34.110.34.1

Affected products

2
  • Pnpm/Pnpm2 versions
    cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*+ 1 more
    • cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*range: <10.34.0
    • (no CPE)range: <10.34.0 and <11.4.0

Patches

Vulnerability mechanics

References

3

News mentions

1