# CVE-2026-110859: GitPython before 3.2.0 Arbitrary File Read via Head.checkout() Branch Name

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-14T22:52:43.585Z
- Modified: 2026-10-27T15:47:08.812Z
- Also known as: GHSA-23mf-xhv8-69c2
- Weaknesses: CWE-73, CWE-88, CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

GitPython before 3.2.0 contains an argument injection vulnerability in Head.checkout() that allows remote attackers to read arbitrary files by supplying a branch name parsed as a git option. Attackers can host a repository whose default branch is named --pathspec-from-file=<path>, causing cloning applications that check out the active branch to leak file contents through GitCommandError messages.

(As written by CVE List.)

## Affected

- gitpython-developers GitPython: before 3.2.0 (not affected: 3.2.0)
- gitpython (PyPI): before 3.2.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/gitpython-before-3.2.0-arbitrary-file-read-via-head-checkout-branch-name> (third-party-advisory)
- <https://github.com/gitpython-developers/GitPython/pull/2233> (web)
- <https://github.com/gitpython-developers/GitPython/commit/8da65080849a56a2fc9f3e7817bbf0524e8397d5> (web)
- <https://github.com/gitpython-developers/GitPython> (package)
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0> (web)

## Sources

- CVE List: [CVE-2026-110859](https://www.cve.org/CVERecord?id=CVE-2026-110859), CVE Terms of Use, modified 2026-10-15
- GitHub Advisory Database: [GHSA-23mf-xhv8-69c2](https://github.com/advisories/GHSA-23mf-xhv8-69c2), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-110859](https://nvd.nist.gov/vuln/detail/CVE-2026-110859), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-110859 · Whole record: https://cve.day/CVE-2026-110859.json · Rebuilt by cve.day 2026-11-25T22:59:44.823Z
