Skip to main content
VulnerabilityPublished Updated

CVE-2026-110858: GitPython · Argument Injection

Affects GitPythonSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.2 Critical : upgrade to 3.2.0 as a priority.

Data as of 27 Nov 2026, 22:51 UTC

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 55% 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:P/PR:N/UI:N/VC:H/VI:H/VA:H/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: evidence found.

    Public exploit code: GitHub proofs of concept

  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), GitHub proofs of concept, 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.1.30 <3.2.0
Fixed in
  • 3.2.0
PyPIgitpythonpkg:pypi/gitpythonOther threatsAffected
  • 3.1.30 – 3.1.62
  • >=3.1.30 <3.2.0
32 affected builds
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

If you cannot patch yet, avoid using vulnerable versions or restrict usage of Remote.pull() with untrusted input for the refspec argument.

Description

GitPython versions from 3.1.30 up to but not including 3.2.0 contain a critical remote code execution vulnerability in the Remote.pull() method. The vulnerability arises because the unsafe-option guard only inspects keyword arguments and not positional refspec arguments, allowing attackers controlling the refspec to inject OS commands via the --upload-pack option. This can lead to execution of arbitrary commands as the calling process over local-path or SSH transports.

References

Community reviews

Loading reviews…