Skip to main content
VulnerabilityPublished

CVE-2026-110859: GitPython · Argument Injection

Affects GitPythonSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 3.2.0 soon.

Data as of 27 Nov 2026, 22:51 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.2.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Oct 2026.

What to do

Upgrade GitPython and gitpython to 3.2.0.

Affected software

ProductAffectedFixed in
gitpython-developersGitPythonAffected
  • <3.2.0
Fixed in
  • 3.2.0
PyPIgitpythonpkg:pypi/gitpythonOther threatsAffected
  • <3.2.0
Fixed in
  • 3.2.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should upgrade GitPython to version 3.2.0 or later where this vulnerability is fixed. No vendor advisory content is provided, but the versioning indicates that 3.2.0 is the fixed release. Until upgrading, avoid cloning repositories from untrusted sources or those with suspicious branch names that could exploit this issue.

Description

GitPython versions before 3.2.0 contain an argument injection vulnerability in the Head.checkout() function. This flaw allows remote attackers to read arbitrary files by supplying a specially crafted branch name that is interpreted as a git option. Specifically, an attacker can host a repository with a default branch named --pathspec-from-file=<path>, causing cloning applications that check out the active branch to leak file contents via GitCommandError messages.

References

Community reviews

Loading reviews…