# CVE-2026-55698: pnpm: Project env lockfile can short-circuit package-manager resolution and execute lockfile-selected pnpm bytes

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T16:43:47.251Z
- Modified: 2026-06-30T19:03:56.020Z
- Also known as: GHSA-w466-c33r-3gjp
- Weaknesses: CWE-345, CWE-494, CWE-829
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

pnpm is a package manager. Prior to 10.34.2 and 11.5.3, pnpm can persist package-manager bootstrap metadata in the first YAML document of pnpm-lock.yaml. Before the patch, direct pnpm execution trusted an already resolved packageManagerDependencies entry when the committed env lockfile contained matching pnpm and @pnpm/exe versions. A malicious repository could therefore commit package-manager lockfile package records and snapshots that bypassed fresh package-manager resolution, then cause pnpm to install and execute bytes selected by that committed lockfile state during automatic version switching. This vulnerability is fixed in 10.34.2 and 11.5.3.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.34.2; >= 11.0.0, < 11.5.3; before 10.34.2; from 11.0.0 before 11.5.3
- pnpm (npm): before 10.34.2; from 11.0.0 before 11.5.3

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-w466-c33r-3gjp> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55698> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-55698](https://www.cve.org/CVERecord?id=CVE-2026-55698), CVE Terms of Use, modified 2026-06-26
- GitHub Advisory Database: [GHSA-w466-c33r-3gjp](https://github.com/advisories/GHSA-w466-c33r-3gjp), CC-BY-4.0, modified 2026-06-26
- NVD: [CVE-2026-55698](https://nvd.nist.gov/vuln/detail/CVE-2026-55698), Public domain, modified 2026-06-30

---

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