CVE-2026-110859
GitPython before 3.2.0 Arbitrary File Read via Head.checkout() Branch Name
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-88 |
| Vendor | gitpython-developers |
| Product | gitpython |
| Published | Oct 14, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitpython-developers gitpython
Be the first to know when new high vulnerabilities affecting gitpython-developers gitpython are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
gitpython-developers / GitPython
0 < 3.2.0
References
Credits
๐ 0xMax-Sec