{
  "id": "CVE-2026-78677",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-78677",
  "published_at": "2026-08-25T01:30:34.719Z",
  "title": "GitPython before 3.1.59 Path Traversal via separate-git-dir",
  "vendor": "gitpython-developers",
  "product": "GitPython",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  },
  "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": "GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone() to redirect repository metadata to an attacker-controlled filesystem path, enabling arbitrary directory creation and potential hook execution.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gitpython-developers",
        "product": "GitPython",
        "ranges": [
          "\u003c 3.1.59"
        ],
        "fixed_in": [
          "3.1.59"
        ]
      }
    ],
    "upgrade": [
      "Upgrade GitPython to 3.1.59 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
