Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
pnpm: Arbitrary File Write/Delete via Malicious Patch File (Path Traversal)
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L L R U N H H 7.3 .0037 29.7 —
AFFECTED
Product Versions Fixed
pnpm < 10.33.4 – —
TIMELINE
Jun 2 Reserved by GitHub_M
Jun 25 EXPLOIT PUBLISHED — CVE-2026-50015 (pnpm). Public exploit reference added.
Jun 25 Published (CNA: GitHub_M)
Description
pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm's patch application pipeline (@pnpm/patch-package) performs no path validation on file paths extracted from .patch files. An attacker who contributes a malicious patch file via a pull request can write attacker-controlled content to or delete arbitrary files on the filesystem during pnpm install, as the user running the install. The diff --git header paths containing ../../ sequences traverse out of the package directory, and the traversal is difficult to catch in code review because patch file diff headers are opaque to most reviewers. This vulnerability is fixed in 10.34.0 and 11.4.0.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| June 2, 2026 | Reserved | Reserved by GitHub_M |
| June 25, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-50015 (pnpm). Public exploit reference added. |
| June 25, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| pnpm | pnpm | — | < 10.33.4 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-50015 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.