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

Critical 9.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-110858?

CVE-2026-110858 is a critical vulnerability in gitpython-developers GitPython, published on 14 Oct 2026.

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.

Weakness: CWE-88

Which versions are affected by CVE-2026-110858?

2 open source packages ship an affected version, including GitPython and gitpython.

PackageAffectedFixed in
GitPython PyPIFrom 3.1.303.2.0
gitpython PyPIFrom 3.1.303.2.0

How do I fix CVE-2026-110858?

Upgrade GitPython to 3.2.0 or later.

Is CVE-2026-110858 being exploited?

There is no known exploitation of CVE-2026-110858 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-110858, ECHO-690e-f622-c7d6, GHSA-f9j4-qggq-h239, GHSA-mcf4-6385-6rcq, MINI-6m35-3wvw-jhh9, UBUNTU-CVE-2026-110858.

Is CVE-2026-110858 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free