CVE-2026-110859GHSA-23mf-xhv8-69c2
GitPython before 3.2.0 Arbitrary File Read via Head.checkout() Branch Name
gitpython-developers GitPython
CVSS
8.7HighExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 15 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.31%Chance of exploitation activity in the next 30 days, higher than 22% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 3.2.0GitPythonCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- GitPythonaffected: all versions before 3.2.0CVE List
- GitPythonunaffected: 3.2.0CVE List