{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.0.0"
                  },
                  {
                    "fixed": "12.10.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "677a3e11d0b9576a0536d62bb54c310c8cd1326f"
            },
            {
              "fixed": "68112bada403c589d360a22ae0f1c50f8b7ab576"
            }
          ],
          "repo": "https://github.com/pnpm/pnpm",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jg5c-8mvg-5wph"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145650.json"
  },
  "details": "pnpm from 12.0.0 before 12.10.0 contains a path traversal vulnerability that allows malicious dependencies to write files outside the store via a crafted manifest version string. When enable-global-virtual-store is enabled, fresh or resolving installs build slot paths from the unvalidated version, letting attackers overwrite files such as git hooks for code execution.",
  "id": "CVE-2026-145650",
  "modified": "2026-12-06T01:45:46.311803858Z",
  "published": "2026-12-06T00:16:47.442Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145650.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pnpm/pnpm/security/advisories/GHSA-jg5c-8mvg-5wph"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145650"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/pnpm-from-12.0.0-before-12.10.0-path-traversal-via-global-virtual-store-version"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    }
  ],
  "summary": "pnpm from 12.0.0 before 12.10.0 Path Traversal via Global Virtual Store Version"
}