Skip to content
OpenAdvisories
High · 8.8 CVE-2026-55698 EUVD-2026-39484GHSA-w466-c33r-3gjp

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

Published Jun 25, 2026 · Updated Jun 26, 2026 · 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.

Affected products

VendorProductAffectedFixed
pnpm pnpm < 10.34.2, >= 11.0.0, < 11.5.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling pnpm-stage0 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm pnpm < 10.34.2 10.34.2 GHSA-w466-c33r-3gjp
npm pnpm >= 11.0.0, < 11.5.3 11.5.3 GHSA-w466-c33r-3gjp

References