# A malicious dependency can make pnpm write files outside its store during an install.

> A malicious dependency can make pnpm write files outside its store during an install., also tracked as CVE-2026-145650 / GHSA-jg5c-8mvg-5wph is a critical-severity threat campaign HOL Guard tracked from Nov 20, 2026 to Dec 6, 2026, verified against 5 primary sources and last reviewed Dec 6, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

Canonical: https://hol.org/guard/security/campaigns/cve-2026-145650-pnpm-global-virtual-store-path-traversal
Last reviewed: Dec 6, 2026
Tracking status: historical / inactive

## Key facts

- Severity: critical
- Confidence: high
- First observed: Nov 20, 2026
- Last observed: Dec 6, 2026
- Primary sources: 5
- Reviewed artifacts: 1

## What happened

A malicious dependency can make pnpm write files outside its store during an install. The affected product is pnpm on its version 12 line. VulnCheck scores this flaw 10.0 on the CVSS 4.0 scale. pnpm builds from 12.0.0 up to but not including 12.10.0 carry the flaw. The fixed build is pnpm 12.10.0. The flaw needs the global virtual store setting switched on.

## Evidence limits

It does not claim the flaw is under attack in the wild. This flaw is not in the CISA Known Exploited Vulnerabilities catalog. No source read publishes a detection rule for this flaw.

- This page relies on the CVE record for CVE-2026-145650, the NVD record for CVE-2026-145650, GitHub advisory GHSA-jg5c-8mvg-5wph, the VulnCheck advisory for CVE-2026-145650, and the CISA KEV catalog version 2026.12.04, all read firsthand this cycle.
- The setting is off by default.
- No source read states that this flaw is exploited in the wild.

## Timeline

- Nov 20, 2026 — disclosure: The vendor advisory was published on November 20, 2026.
- Dec 5, 2026 — disclosure: The CVE record was reserved on December 5, 2026.
- Dec 6, 2026 — disclosure: The CVE record was published on December 6, 2026.
- Dec 6, 2026 — disclosure: The database record was published on December 6, 2026.

## Reviewed artifacts

- pnpm package, version 12 line@12.0.0 to before 12.10.0 (npm)

## Sources

- [CVE record for CVE-2026-145650, pnpm path traversal via global virtual store version, published December 6, 2026](https://www.cve.org/CVERecord?id=CVE-2026-145650) — vendor advisory, observed Dec 6, 2026
- [NVD record for CVE-2026-145650 (VulnCheck CNA, CVSS 4.0 10.0, CVSS 3.1 10.0, published December 6, 2026)](https://nvd.nist.gov/vuln/detail/CVE-2026-145650) — vulnerability database, observed Dec 6, 2026
- [GitHub advisory GHSA-jg5c-8mvg-5wph, pnpm manifest version path traversal writes files outside the store (published November 20, 2026, patched version 12.10.0 named, interim mitigation given)](https://github.com/pnpm/pnpm/security/advisories/GHSA-jg5c-8mvg-5wph) — vendor advisory, observed Nov 20, 2026
- [VulnCheck advisory for CVE-2026-145650, pnpm path traversal via global virtual store version (December 6, 2026)](https://www.vulncheck.com/advisories/pnpm-from-12.0.0-before-12.10.0-path-traversal-via-global-virtual-store-version) — vulnerability database, observed Dec 6, 2026
- [CISA KEV catalog version 2026.12.04 (CVE-2026-145650 not listed)](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) — vulnerability database, observed Dec 4, 2026

## Machine-readable exports

- [JSON record](https://hol.org/guard/security/campaigns/cve-2026-145650-pnpm-global-virtual-store-path-traversal/data.json)
- [Artifact CSV](https://hol.org/guard/security/campaigns/cve-2026-145650-pnpm-global-virtual-store-path-traversal/artifacts.csv)
- [STIX 2.1 bundle](https://hol.org/guard/security/campaigns/cve-2026-145650-pnpm-global-virtual-store-path-traversal/stix.json)
- [Markdown record](https://hol.org/guard/security/campaigns/cve-2026-145650-pnpm-global-virtual-store-path-traversal/index.md)

Corrections: https://hol.org/guard/security/campaigns/cve-2026-145650-pnpm-global-virtual-store-path-traversal/corrections
