CVE-2026-145650
Received Received - Intake

Path Traversal in pnpm via Malicious Manifest Version

Vulnerability report for CVE-2026-145650, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-06

Last updated on: 2026-12-06

Assigner: VulnCheck

Description

pnpm from 12.0.0 before 12.10.0 contains a path traversal vulnerability that allows malicious dependencies to write files outside the store via a crafted manifest version string. When enable-global-virtual-store is enabled, fresh or resolving installs build slot paths from the unvalidated version, letting attackers overwrite files such as git hooks for code execution.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-06
Last Modified
2026-12-06
Generated
2026-12-06
AI Q&A
2026-12-06
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
pnpm pnpm From 12.0.0 (inc) to 12.10.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

pnpm versions 12.0.0 to 12.10.0 have a path traversal flaw where malicious dependencies can write files outside the intended store directory using a crafted manifest version string. This occurs when the global virtual store feature is enabled, allowing attackers to overwrite critical files like git hooks for potential code execution.

Impact Analysis

This vulnerability could allow attackers to execute arbitrary code on your system by overwriting files such as git hooks. It affects systems using pnpm versions 12.0.0 to 12.10.0 with the global virtual store enabled, potentially leading to unauthorized access or control of your environment.

Mitigation Strategies

Upgrade pnpm to version 12.10.0 or later to address the path traversal vulnerability. Disable the enable-global-virtual-store option if not required. Review installed dependencies for suspicious files or hooks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145650. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...