CVE-2026-110858
GitPython: GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec
Severity by source
Trivy's own label is CRITICAL. Rated critical by Red Hat.
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Red Hat | python-gitpython, python3.12-gitpython, satellite/iop-vmaas-rhel9 and 1 more | no fix listed |
| debian 11 | python-git | no fix listed |
| debian 12 | python-git | no fix listed |
| debian 13 | python-git | no fix listed |
| debian 14 | python-git | 3.2.1-1 |
| echo | python-git | 3.2.0 |
| rapidfort debian 12 | python-git | 0:3.2.1-1 |
| rapidfort debian 13 | python-git | 0:3.2.1-1 |
| seal pip::Seal Security Database | gitpython, seal-gitpython | 3.1.37+sp999 |
Show all 13 entries from 9 sources
| Source | Package | Fixed in |
|---|---|---|
| Red Hat | python-gitpython | no fix listed |
| Red Hat | python3.12-gitpython | no fix listed |
| Red Hat | satellite/iop-vmaas-rhel9 | no fix listed |
| Red Hat | satellite/iop-vulnerability-engine-rhel9 | no fix listed |
| debian 11 | python-git | no fix listed |
| debian 12 | python-git | no fix listed |
| debian 13 | python-git | no fix listed |
| debian 14 | python-git | 3.2.1-1 |
| echo | python-git | 3.2.0 |
| rapidfort debian 12 | python-git | 0:3.2.1-1 |
| rapidfort debian 13 | python-git | 0:3.2.1-1 |
| seal pip::Seal Security Database | gitpython | 3.1.37+sp999 |
| seal pip::Seal Security Database | seal-gitpython | 3.1.37+sp999 |
References
- https://access.redhat.com/security/cve/CVE-2026-110858
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239
- https://nvd.nist.gov/vuln/detail/CVE-2026-110858
- https://www.cve.org/CVERecord?id=CVE-2026-110858
- https://www.vulncheck.com/advisories/gitpython-3.1.30-before-3.2.0-command-injection-via-remote-pull-refspec