Skip to main content

pnpm CVE-2026-55700

| EUVDEUVD-2026-39487 HIGH
Path Traversal (CWE-22)
2026-06-25 GitHub_M GHSA-v23m-ccfg-pq9h
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise or host malicious registry
  2. Delivery
    Serve staged tarball with crafted manifest name/version
  3. Exploit
    Victim runs `pnpm stage download`
  4. Execution
    Traversal escapes download directory
  5. Persist
    Overwrite reachable file
  6. Impact
    Integrity loss / potential code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to invoke the pnpm stage download command (a release-staging subcommand) against a registry the attacker controls or has compromised, with pnpm version between 11.3.0 and 11.5.2. The attacker must control the staged tarball manifest's name and/or version fields and embed path-separator/../ sequences there. Limiting factors: user interaction is required (CVSS UI:R) - the attack does not trigger on a normal pnpm install, only on the specialized stage-download workflow; the overwrite target is constrained to paths reachable/writable by the user running the command; and exploitation presupposes a malicious or breached registry in the trust path.

Impact

The provided CVSS 3.1 base score is 7.1 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L): network vector, low complexity, no attacker privileges, but user interaction required, with high integrity and low availability impact and no confidentiality loss - consistent with a file-overwrite primitive rather than direct data theft or code execution. The key limiting factor not captured by the raw score is the threat model: exploitation requires the victim to run pnpm stage download against a registry the attacker controls or has compromised, and pnpm stage is a niche release-staging workflow, not a routine install. No EPSS score, KEV listing, or SSVC decision data was provided, so widespread automated exploitation cannot be assessed from the input; the absence of KEV/POC signals plus the specialized command make this a moderate, targeted-supply-chain risk rather than an urgent mass-exploitation event. The file-overwrite could escalate to code execution if a writable startup script or config is targeted, which is why integrity is rated High.

Exploit ScenarioDerived

An attacker who controls or has compromised a registry serving staged tarballs publishes a manifest whose name or version field contains path-traversal sequences (e.g. version 1.0.0/../../.bashrc). When a developer or CI job runs pnpm stage download <stageId> against that registry, pnpm derives the output path from the manifest and writes the tarball bytes outside the intended directory, overwriting a reachable file. The fixing PR ships test cases demonstrating the traversal, but no weaponized public exploit was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Path traversal in pnpm's pnpm stage download command (versions 11.3.0 through 11.5.2) lets a malicious or compromised registry overwrite arbitrary files reachable by the user running the command. The tool built a local tarball filename directly from registry-controlled package name and version fields, so a crafted manifest (e.g. a version like 1.0.0/../../evil) escaped the intended download directory. This is fixed in 11.5.3; no public exploit identified at time of analysis, though the fixing PR (#12303) includes proof-of-traversal test cases.

RemediationAI

Vendor-released patch: upgrade to pnpm 11.5.3 or later, which validates package name and version fields and verifies the write destination stays within the download directory. As a compensating control until upgrade, avoid running pnpm stage download against untrusted or third-party registries, and pin staging operations to a known-good internal registry you control; running the command from an isolated/ephemeral working directory with no sensitive sibling files limits the blast radius of any overwrite, at the cost of extra workflow steps. Review advisory GHSA-v23m-ccfg-pq9h (https://github.com/pnpm/pnpm/security/advisories/GHSA-v23m-ccfg-pq9h) and the fix in https://github.com/pnpm/pnpm/pull/12303 for details.

Affected VersionsENISA

pnpm 11.3.0, < 11.5.3

Affected Packages

npm pnpm fix: 11.5.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pnpm is a widely-used Node.js package manager; the affected code lives in its release/staging tooling (@pnpm/releasing.commands). The vulnerable function derived an output filename via a naive normalizePackageName(name) (only stripping @ and /) concatenated with the raw version field and a stage ID, then passed it to path.resolve() and fs.writeFile(). Because neither field was validated, embedded path separators and ../ sequences in the manifest's name or version survived into the resolved path, producing a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal). The merged fix introduces createTarballFilename(), which validates the package name with validate-npm-package-name, validates the version with semver valid(), rejects any filename whose path.basename (POSIX and win32) differs from itself, and additionally verifies that the final resolved destination's directory equals the intended download directory before writing.

Know when Pnpm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
vuln.today AI 7.1 HIGH

Registry-controlled input over the network (AV:N, PR:N) but the victim must run stage download (UI:R); arbitrary file overwrite gives I:H with A:L and no confidentiality impact (C:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 25, 2026 - 19:17 EUVD

DescriptionCVE.org

pnpm is a package manager. From 11.3.0 until 11.5.3, pnpm stage download derived a local filename from registry-controlled package name and version fields. A crafted manifest could escape the selected download directory and overwrite another reachable file. The merged fix validates both fields, derives one safe filename, and verifies the final destination before writing. This vulnerability is fixed in 11.5.3.

Executive ViewAI

Why It Matters

A path traversal vulnerability in pnpm versions 11.3.0-11.5.2 could allow attackers using compromised package registries to overwrite arbitrary files on developer machines and CI/CD systems. This threatens the integrity of your software supply chain by enabling injection of malicious code during the package download stage. Organizations using affected pnpm versions should prioritize immediate remediation to prevent unauthorized modifications to build environments.

Business Impact: High
Compensating Controls

Vendor-released patch: pnpm 11.5.3 and later. Apply immediately. Interim mitigation pending patch deployment: restrict developers and CI/CD systems to approved, trusted package registries only.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
very popular JS package manager, but vulnerable stage command rarely used
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Pnpm

View all
CVE-2025-69264 CRITICAL POC
9.8 Jan 07

Arbitrary code execution in the pnpm package manager (versions 10.0.0 through 10.25) lets a git-hosted dependency run co

CVE-2023-37478 CRITICAL POC
9.8 Aug 01

pnpm is a package manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentica

CVE-2026-50016 HIGH POC
8.8 Jun 25

Path traversal in pnpm before 10.34.0 and 11.4.0 lets a malicious registry package smuggle '../' segments inside a trans

CVE-2026-55698 HIGH POC
8.8 Jun 25

Arbitrary code execution in the pnpm package manager (versions prior to 10.34.2 and 11.5.3) lets a malicious repository

CVE-2026-55697 HIGH POC
8.8 Jun 25

Arbitrary command execution in pnpm before 10.34.2 and 11.5.3 allows a malicious repository to run attacker-chosen nativ

CVE-2025-69263 HIGH POC
8.8 Jan 07

Supply-chain integrity bypass in pnpm package manager (versions ≤10.26.2, per description; GHSA states <10.26.0) allows

CVE-2022-26183 HIGH POC
8.8 Mar 21

PNPM v6.15.1 and below was discovered to contain an untrusted search path which causes the application to behave in unex

CVE-2026-50021 HIGH POC
8.1 Jun 25

Integrity-check bypass in the pnpm package manager (versions before 10.34.0/10.34.1 and 11.0.0-11.3.x) lets tampered pac

CVE-2025-69262 HIGH POC
7.8 Jan 07

Command injection in pnpm versions 6.25.0 through 10.26.2 allows attackers controlling environment variables to execute

CVE-2026-82393 HIGH POC
7.5 Aug 31

Scoped path traversal in pnpm allows arbitrary filesystem overwrites during package installation, defeating the --ignore

CVE-2026-50015 HIGH POC
7.3 Jun 25

Arbitrary file write and deletion in pnpm package manager (versions prior to 10.34.0 and 11.4.0) lets a malicious contri

CVE-2026-50014 HIGH POC
7.3 Jun 25

Arbitrary command execution in pnpm before 10.34.0 and 11.4.0 allows a malicious lockfile to run code on a developer's m

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy