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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-git | 3.1.30-1+deb12u3 | DEBIAN-CVE-2026-110858 |
| Debian:13 | python-git | 3.1.44-1+deb13u1 | DEBIAN-CVE-2026-110858 |
| Debian:14 | python-git | 3.2.1-1 | DEBIAN-CVE-2026-110858 |
| PyPI | gitpython | 3.2.0 | GHSA-f9j4-qggq-h239 |
| Ubuntu:26.10 | python-git | no fix listed | UBUNTU-CVE-2026-110858 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- GitHub Security Advisory (GHSA-f9j4-qggq-h239) vendor-advisory
- VulnCheck Advisory: GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec third-party-advisory