Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GitPython versions before 3.1.59 do not block the --separate-git-dir option in clone_from() and clone() by default. If an application passes attacker-controlled input to this option, an attacker can make git create a repository metadata directory at any path outside the intended destination. Upgrade to GitPython 3.1.59 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 4.0 | 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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0065, the 51st percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:38 UTC First seen by agentprime
- 31 Oct 2026, 14:38 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-8mcc-hrx5-hvxc
- OSV: GHSA-8mcc-hrx5-hvxc
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc
- nvd.nist.gov/vuln/detail/CVE-2026-78677
- github.com/gitpython-developers/GitPython/pull/2210
- github.com/gitpython-developers/GitPython/commit/b68afff45af0f49e79a3e2d2162018986b37ad5d
- github.com/gitpython-developers/GitPython
- github.com/gitpython-developers/GitPython/releases/tag/3.1.59
- github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3787.yaml
- www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir