{"id":"CVE-2026-55698","published":"2026-06-25T16:43:47Z","modified":"2026-06-26T03:56:12Z","title":"pnpm: Project env lockfile can short-circuit package-manager resolution and execute lockfile-selected pnpm bytes","vendor":"pnpm","product":"pnpm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00297,"percentile":0.22851,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-494","name":"Download of Code Without Integrity Check"},{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-w466-c33r-3gjp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":4.57},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"pnpm","affectedVersions":[{"vendor":"pnpm","product":"pnpm","versions":["< 10.34.2",">= 11.0.0, < 11.5.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-25T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pnpm","vulnerableRanges":["<10.34.2",">=11.0.0, <11.5.3"],"patched":["10.34.2","11.5.3"],"from":["GHSA-w466-c33r-3gjp"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-39484","exploited":false,"provenance":"source"}}