Back

HIGH

pnpm: stage download writes outside destination via manifest version traversal

Published Jun 25, 2026

Description

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.

Affected products

Remediation

Red Hat statement

This Important flaw in pnpm allows a remote attacker to achieve arbitrary file write by providing a specially crafted package manifest during the `pnpm stage download` operation. This could lead to unauthorized modification of system files and compromise system integrity, particularly in environments where pnpm processes untrusted package sources.

Metrics

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Jun 25, 2026
Updated Jun 25, 2026
Reserved Jun 17, 2026
CISA Vulnrichment
Updated Jun 25, 2026
NVD
Status Analyzed
Modified Jun 29, 2026
Red Hat
Severity Important
Public date Jun 25, 2026
GHSA-V23M-CCFG-PQ9H