CVE-2026-110859

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGitpython
PublishedOct 14, 2026
First seenOct 14, 2026
Weakness typeCWE-88CWE-88

How to fix

Affected products

ProductAffected versionsFixed in
gitpythonPyPIv < 3.2.03.2.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-110859 · Gitpython · Dark Radar