CVE-2026-55698CWE-345CWE-494CWE-829

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

High · published June 25, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
21.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00297 · 21.2th percentile
Weaknesses
CWE-345 · Insufficient Verification of Data Authenticity; CWE-494 · Download of Code Without Integrity Check; CWE-829 · Inclusion of Functionality from Untrusted Control Sphere
Published
2026-06-25T16:43Z
EPSS history
Timeline
  • 25 JUN 16:43Z
    pnpm: Project env lockfile can short-circuit package-manager resolution and execute lockfile-selected pnpm bytes
    cvelistv5