Protection Mechanism Failure in pnpm - CVE-2025-69264

 

Protection Mechanism Failure in pnpm - CVE-2025-69264

Published: April 27, 2026


Vulnerability identifier: #VU128178
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/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: CVE-2025-69264
CWE-ID: CWE-693
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 protection mechanism failure in git dependency lifecycle script handling when processing git-hosted dependencies during pnpm install. A remote attacker can supply a specially crafted git-hosted dependency to execute arbitrary code.

User interaction is required to run pnpm install on a project that includes the malicious dependency.


How to mitigate CVE-2025-69264

Install security update from vendor's website.

Sources