p PatchFirst

CVE-2026-50021

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.8 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • pnpm

    Versions
    • < 10.34.0: Affected
    • >= 11.0.0, < 11.4.0: Affected

    No fix published

  • pnpm npm

    Affected ranges
    • SEMVER: ≥ 11.0.0, < 11.4.0

    Update to 11.4.0

  • pnpm npm

    Affected ranges
    • SEMVER: < 10.34.1

    Update to 10.34.1

Original sources

Check your server →