Skip to main content
CVE-2026-110858VulnerabilityPublished Updated

Python git: GitPython from 3.1.30 before 3.2.0 contains a remote code execution vulnerability in Remote.pull() whose

Affects python-gitSource GCVE Database

0
Authoritative record:CVE-2026-110858· Critical 9.2

Not known to be exploited · CVSS 9.2 Critical · fixed in 3.2.0 : patch python-git as a priority.

Data as of 28 Oct 2026, 23:41 UTC

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.
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. Weaponised: 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-gitpkg:deb/ubuntu/python-git?arch=source&distro=stonkingOther threatsAffected
  • =3.1.46-1
  • =3.1.50-1
  • =3.1.61-1
Fixed in–
Ubuntu Pro 26.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 3.1.44-1 – 3.1.46-1ubuntu0.1~esm1
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 3.1.30-1 – 3.1.37-3ubuntu0.1~esm2
4 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 3.1.14-1 – 3.1.24-1ubuntu0.1~esm3
6 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/focalOther threatsAffected
  • 2.1.11-1 – 3.0.7-1ubuntu0.1~esm4
7 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 2.1.5-1 – 2.1.8-1ubuntu0.1~esm4
7 affected builds
Fixed in–

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

AI-suggested

A fix is available in GitPython version 3.2.0 and later. Users should upgrade to version 3.2.0 or newer to remediate this vulnerability. No vendor advisory content was provided to indicate alternative mitigations or that no action is required.

Description

GitPython versions from 3.1.30 before 3.2.0 contain a 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 supply a malicious --upload-pack option. This can lead to execution of arbitrary OS commands as the calling process over local-path or SSH transports. The vulnerability has a high severity with a CVSS score of 8.1.

References

Community reviews

Loading reviews…