Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-q6j5-fjx5-2mc3
- https://github.com/pnpm/pnpm/security/advisories/GHSA-q6j5-fjx5-2mc3
FAQ
What is CVE-2026-50021?
CVE-2026-50021 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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 ca...
How severe is CVE-2026-50021?
CVE-2026-50021 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-50021?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.