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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T16:48:27.901Z
- Modified: 2026-11-03T23:17:46.270Z
- Also known as: GHSA-q6j5-fjx5-2mc3
- Weaknesses: CWE-354
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.34.0; >= 11.0.0, < 11.4.0; before 10.34.0; from 11.0.0 before 11.4.0
- pnpm (npm): from 11.0.0 before 11.4.0; before 10.34.1

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-q6j5-fjx5-2mc3> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50021> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-50021](https://www.cve.org/CVERecord?id=CVE-2026-50021), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-q6j5-fjx5-2mc3](https://github.com/advisories/GHSA-q6j5-fjx5-2mc3), CC-BY-4.0, modified 2026-06-26
- NVD: [CVE-2026-50021](https://nvd.nist.gov/vuln/detail/CVE-2026-50021), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-50021 · Whole record: https://cve.day/CVE-2026-50021.json · Rebuilt by cve.day 2026-11-25T22:59:26.397Z
