CVE 6.8 MEDIUM

pnpm: Integrity Check Bypass via Missing Lockfile Integrity Field_CVE-2026-50021

6.8 / 10
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

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.

Basic Information

ID CVE-2026-50021
Source GitHub_M
Published Jun 25, 2026 at 16:48

Affected Product

Vendor pnpm
Product pnpm
Version < 10.34.0
Affected Versions pnpm pnpm < 10.34.0
pnpm pnpm >= 11.0.0, < 11.4.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.