Inclusion of Functionality from Untrusted Control Sphere in pnpm - #VU134552

 

Inclusion of Functionality from Untrusted Control Sphere in pnpm - #VU134552

Published: June 15, 2026


Vulnerability identifier: #VU134552
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: N/A
CWE-ID: CWE-829
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: pnpm
Affected software:
pnpm

Detailed vulnerability description

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.


Remediation

Install security update from vendor's website.

Sources