CVE 8.8 HIGH

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

8.8 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

AI Analysis

A vulnerability in pnpm allows a malicious repository to commit package-manager lockfile package records and snapshots that bypass fresh package-manager resolution, leading to the installation and execution of malicious bytes.

Basic Information

ID CVE-2026-55698
Source GitHub_M
Published Jun 25, 2026 at 16:43

Affected Product

Vendor pnpm
Product pnpm
Version < 10.34.2
Affected Versions pnpm pnpm < 10.34.2
pnpm pnpm >= 11.0.0, < 11.5.3

CWE Classification

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor pnpm
Product pnpm
Version < 10.34.2, >= 11.0.0, < 11.5.3

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.