{
  "schemaVersion": "guard-threat-campaign/v1",
  "id": "HGTC-2026-6236B9D0",
  "slug": "cve-2026-145650-pnpm-global-virtual-store-path-traversal",
  "title": "A malicious dependency can make pnpm write files outside its store during an install.",
  "aliases": [
    "CVE-2026-145650",
    "GHSA-jg5c-8mvg-5wph"
  ],
  "summary": "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.",
  "status": "published",
  "severity": "critical",
  "confidence": "high",
  "uncertainty": "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.",
  "firstObservedAt": "2026-11-20T00:00:00.000Z",
  "lastObservedAt": "2026-12-06T00:00:00.000Z",
  "publishedAt": "2026-12-06T14:18:45.425Z",
  "reviewedAt": "2026-12-06T14:18:10.221Z",
  "expiresAt": "2026-12-06T00:00:00.000Z",
  "reviewer": "HOL Guard Security Publishing",
  "sources": [
    {
      "id": "cve-cve-2026-145650",
      "label": "CVE record for CVE-2026-145650, pnpm path traversal via global virtual store version, published December 6, 2026",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-145650",
      "sourceType": "vendor_advisory",
      "observedAt": "2026-12-06T00:00:00.000Z"
    },
    {
      "id": "nvd-cve-2026-145650",
      "label": "NVD record for CVE-2026-145650 (VulnCheck CNA, CVSS 4.0 10.0, CVSS 3.1 10.0, published December 6, 2026)",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145650",
      "sourceType": "vulnerability_database",
      "observedAt": "2026-12-06T00:00:00.000Z"
    },
    {
      "id": "ghsa-jg5c-8mvg-5wph",
      "label": "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)",
      "url": "https://github.com/pnpm/pnpm/security/advisories/GHSA-jg5c-8mvg-5wph",
      "sourceType": "vendor_advisory",
      "observedAt": "2026-11-20T00:00:00.000Z"
    },
    {
      "id": "vulncheck-cve-2026-145650",
      "label": "VulnCheck advisory for CVE-2026-145650, pnpm path traversal via global virtual store version (December 6, 2026)",
      "url": "https://www.vulncheck.com/advisories/pnpm-from-12.0.0-before-12.10.0-path-traversal-via-global-virtual-store-version",
      "sourceType": "vulnerability_database",
      "observedAt": "2026-12-06T00:00:00.000Z"
    },
    {
      "id": "cisa-kev-2026-12-04",
      "label": "CISA KEV catalog version 2026.12.04 (CVE-2026-145650 not listed)",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "sourceType": "vulnerability_database",
      "observedAt": "2026-12-04T00:00:00.000Z"
    }
  ],
  "artifacts": [
    {
      "id": "pnpm-v12",
      "artifactClass": "package",
      "ecosystem": "npm",
      "name": "pnpm package, version 12 line",
      "version": "12.0.0 to before 12.10.0",
      "defanged": false
    }
  ],
  "indicators": [],
  "timeline": [
    {
      "id": "ghsa-published",
      "occurredAt": "2026-11-20T00:00:00.000Z",
      "eventType": "disclosure",
      "summary": "The vendor advisory was published on November 20, 2026.",
      "sourceIds": [
        "ghsa-jg5c-8mvg-5wph"
      ]
    },
    {
      "id": "cve-reserved",
      "occurredAt": "2026-12-05T00:00:00.000Z",
      "eventType": "disclosure",
      "summary": "The CVE record was reserved on December 5, 2026.",
      "sourceIds": [
        "cve-cve-2026-145650"
      ]
    },
    {
      "id": "cve-published",
      "occurredAt": "2026-12-06T00:00:00.000Z",
      "eventType": "disclosure",
      "summary": "The CVE record was published on December 6, 2026.",
      "sourceIds": [
        "cve-cve-2026-145650"
      ]
    },
    {
      "id": "nvd-published",
      "occurredAt": "2026-12-06T00:00:00.000Z",
      "eventType": "disclosure",
      "summary": "The database record was published on December 6, 2026.",
      "sourceIds": [
        "nvd-cve-2026-145650"
      ]
    }
  ],
  "coverage": [
    {
      "assertionId": "guard-evidence-pack-pnpm-145650-v12",
      "relationship": "provides_evidence",
      "limitation": "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. pnpm builds from 12.0.0 up to but not including 12.10.0 carry the flaw."
    }
  ],
  "policies": [
    {
      "policyId": "pnpm-145650-upgrade-or-mitigate",
      "purpose": "The fixed build is pnpm 12.10.0. That step keeps enable-global-virtual-store switched off.",
      "status": "available",
      "limitation": "The vendor gives an interim step for teams that cannot update at once."
    }
  ],
  "limitations": [
    "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."
  ],
  "correctionHref": "/guard/security/campaigns/cve-2026-145650-pnpm-global-virtual-store-path-traversal/corrections"
}
