External Control of File Name or Path Affecting pnpm package, versions <10.34.4>=11.0.0 <11.7.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PNPM-17660537
  • published27 Jun 2026
  • disclosed27 Jun 2026
  • creditUnknown

Introduced: 27 Jun 2026

New CVE NOT AVAILABLE CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade pnpm to version 10.34.4, 11.7.0 or higher.

Overview

pnpm is a Fast, disk space efficient package manager

Affected versions of this package are vulnerable to External Control of File Name or Path via the lockfile alias handling process. An attacker can overwrite files or directories outside the intended node_modules directory by crafting a malicious lockfile alias that escapes the installation root.

CVSS Base Scores

version 4.0
version 3.1