All CVEs / gitpython-developers
CVE-2026-110858gitpython-developers GitPython
Remote Code Execution in GitPython via refspec in Remote.pull()
Critical 9.2 No auth needed
Follow: this CVE · gitpython-developers · gitpython-developers GitPython We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 4.0
- 9.2
- EPSS
- —
- Auth required
- No
- Published
- Oct 14, 2026
- Updated
- Oct 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-88
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
GitPython versions 3.1.30 through 3.1.x contains a remote code execution vulnerability in the Remote.pull() method. An attacker controlling the refspec parameter can inject OS commands via --upload-pack=<command> on local-path or SSH transports without authentication.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 3.2.0
Update GitPython to version 3.2.0 or later to apply the security patch.
- Apply the vendor's security update for GitPython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gitpython |
≥ 3.1.30 < 3.2.0 |
3.2.0 |
pip install "gitpython>=3.2.0" |
Per OSV / GitHub Advisories (GHSA-f9j4-qggq-h239). Check the version in your lockfile before upgrading.
Affected products
- gitpython-developers · GitPython
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update · Red Hat · RHSA-2026:99007 · Nov 23, 2026 Critical
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update · Red Hat · RHSA-2026:99008 · Nov 23, 2026 Critical
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update · Red Hat · RHSA-2026:99006 · Nov 23, 2026 Critical
- python313-GitPython-3.2.1-1.1 on GA media · SUSE · openSUSE-SU-2026:12391-1 · Nov 2, 2026 Critical
Also: Red Hat (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.