Bug 2493022 (CVE-2026-55698) - CVE-2026-55698 pnpm: pnpm: Arbitrary code execution via malicious package-manager lockfile
Summary: CVE-2026-55698 pnpm: pnpm: Arbitrary code execution via malicious package-man...
Keywords:
Status: NEW
Alias: CVE-2026-55698
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-25 18:02 UTC by OSIDB Bzimport
Modified: 2026-07-06 13:44 UTC (History)
32 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-25 18:02:43 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.