{
  "id": "CVE-2026-71556",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-71556",
  "published_at": "2026-08-07T16:37:40.058Z",
  "title": "go-git: Worktree operations may follow symlinks",
  "vendor": "go-git",
  "product": "go-git",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, worktree operations (including checkout, status, and add) resolve symbolic links inside the working tree without confining resolution to the worktree boundary, so a maliciously crafted repository containing a symlink can cause go-git to read from or write to files outside the intended working directory when the repository is cloned and its worktree operations are used. Versions 5.19.2 and 6.0.0-alpha.5.",
  "cwe": "CWE-59",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "go-git",
        "product": "go-git",
        "ranges": [
          "\u003c 5.19.2",
          "\u003e= 6.0.0-alpha.1, \u003c 6.0.0-alpha.5"
        ],
        "fixed_in": [
          "5.19.2",
          "6.0.0-alpha.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade go-git to 5.19.2 or 6.0.0-alpha.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/go-git/go-git/releases/tag/v5.19.2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
