Vulnerability · Published Oct 14, 2026 · Assigned by VulnCheck

CVE-2026-110858GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec

High 8.1

In plain English

A high-severity argument injection in GitPython from gitpython-developers. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.5%top 59.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

GitPython from 3.1.30 before 3.2.0 contains a remote code execution vulnerability in Remote.pull() whose unsafe-option guard inspects only keyword arguments, not the positional refspec. Attackers controlling the refspec can supply --upload-pack=<command> to execute OS commands as the calling process over local-path or SSH transports.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-git3.1.30-1+deb12u3DEBIAN-CVE-2026-110858
Debian:13python-git3.1.44-1+deb13u1DEBIAN-CVE-2026-110858
Debian:14python-git3.2.1-1DEBIAN-CVE-2026-110858
PyPIgitpython3.2.0GHSA-f9j4-qggq-h239
Ubuntu:26.10python-gitno fix listedUBUNTU-CVE-2026-110858

Affected products (as reported)

VendorProductVersions
gitpython-developers GitPython 3.1.30 – before 3.2.0

Weakness: CWE-88 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References