Inclusion of Functionality from Untrusted Control Sphere in pnpm - CVE-2026-55697

 

Inclusion of Functionality from Untrusted Control Sphere in pnpm - CVE-2026-55697

Published: June 15, 2026


Vulnerability identifier: #VU134552
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-55697
CWE-ID: CWE-829
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to inclusion of functionality from an untrusted control sphere in pnpm configDependencies / pacquet delegation when processing a repository-controlled pnpm-workspace.yaml and running dependency-management commands. A remote attacker can declare pacquet or @pnpm/pacquet as a config dependency so that pnpm resolves and spawns a platform-specific native binary to execute arbitrary code.

User interaction is required to run a dependency-management command such as pnpm install in the repository.


Affected software

pnpm

How to mitigate CVE-2026-55697

Install security update from vendor's website.

pnpm - addressed in versions 11.0.0, 11.5.3

External References

Related Security Bulletins