{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.38.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "4664c8e1147c3c7ba87c027e92093d28607ef4c0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.38.8",
                "range": [
                  {
                    "fixed": "2e0c348f59c2fea0d265ac5f7499fe615d42b78b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2e0c348f59c2fea0d265ac5f7499fe615d42b78b"
            },
            {
              "fixed": "4664c8e1147c3c7ba87c027e92093d28607ef4c0"
            }
          ],
          "repo": "https://github.com/isomorphic-git/isomorphic-git",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pvh8-4vwp-j58p"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86017.json"
  },
  "details": "isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.8, git cherry-pick applies tree changes through applyTreeChanges in src/utils/walkerToTreeEntryMap.js without checking whether a leading path component is a symbolic link. If a victim worktree contains a tracked symlink to a location outside the worktree and a cherry-picked tree places a file beneath that path, the write follows the symlink and materializes attacker-controlled blob content at the external destination. This allows arbitrary file writes and can cause data tampering, code injection into interpreted files, privilege escalation, denial of service, or follow-on code execution depending on the selected target path. This issue is fixed in version 1.38.8.",
  "id": "CVE-2026-86017",
  "modified": "2026-11-21T20:45:28.313679815Z",
  "published": "2026-11-20T18:06:13.920Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86017.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-pvh8-4vwp-j58p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-86017"
    },
    {
      "type": "FIX",
      "url": "https://github.com/isomorphic-git/isomorphic-git/commit/4664c8e1147c3c7ba87c027e92093d28607ef4c0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/isomorphic-git/isomorphic-git/pull/2377"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "isomorphic-git: Arbitrary File Write via Symlink"
}