CVE-2026-110859

published 14 Oct 2026 · updated 15 Oct 2026

GitPython before 3.2.0 Arbitrary File Read via Head.checkout() Branch Name

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.2.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gitpython-developers<3.2.03.2.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-110859 severity on Zeptric[![CVE-2026-110859](https://zeptric.io/badge/cve/CVE-2026-110859.svg)](https://zeptric.io/cve/CVE-2026-110859)