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

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-10-14T22:52:42.217Z
- Modified: 2026-10-27T15:47:24.258Z
- Also known as: GHSA-f9j4-qggq-h239
- Weaknesses: CWE-78, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- gitpython-developers GitPython: from 3.1.30 before 3.2.0 (not affected: 3.2.0)
- gitpython (PyPI): from 3.1.30 before 3.2.0

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/gitpython-3.1.30-before-3.2.0-command-injection-via-remote-pull-refspec> (third-party-advisory)
- <https://github.com/gitpython-developers/GitPython/pull/2247> (web)
- <https://github.com/gitpython-developers/GitPython/commit/790bb3164948625ffb043d2a162425d55923fe9a> (web)
- <https://github.com/gitpython-developers/GitPython> (package)
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0> (web)

## Sources

- CVE List: [CVE-2026-110858](https://www.cve.org/CVERecord?id=CVE-2026-110858), CVE Terms of Use, modified 2026-10-16
- GitHub Advisory Database: [GHSA-f9j4-qggq-h239](https://github.com/advisories/GHSA-f9j4-qggq-h239), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-110858](https://nvd.nist.gov/vuln/detail/CVE-2026-110858), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-110858 · Whole record: https://cve.day/CVE-2026-110858.json · Rebuilt by cve.day 2026-11-25T22:59:44.823Z
