CVE-2026-114145 json
GitPython validates a submodule's ".git" path only after cloning into it (RCE)
published 2026-10-21 18 d ago modified 2026-10-23 17 d ago also EUVD-2026-107557 , GHSA-83vg-56qc-22m7
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes _clone_repo() before safely rejecting the destination. In 3.1.x, _validate_repo_path() does not exist and the call succeeds silently, while in 3.2.0 and later affected revisions the check in git/index/base.py raises ValueError only after the clone has written to disk and does not remove the planted file. An attacker-controlled submodule can therefore place an executable post-checkout hook that a later Git operation executes. Exploitation requires an application to accept an untrusted submodule path and a clone destination such as .git/hooks that is empty enough for Git to clone into it, which commonly means that default sample hooks are absent. This issue is fixed in version 3.2.1.
Patch / fix
- pypi gitpython 3.2.1
- gitpython_project gitpython 3.2.1
- python-git Debian 12 3.1.30-1+deb12u3
- python-git Debian 13 3.1.44-1+deb13u1
- python-git Debian 14 3.2.1-1
debian advisories DEBIAN-CVE-2026-114145
- python-GitPython openSUSE Tumbleweed 3.2.1-1.1
opensuse advisories openSUSE-SU-2026:12391-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-114145 updated cvss 7.5
GitPython: GitPython: arbitrary code execution via improper submodule path validation
-
Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9affected: workaround, no fix available
-
Red Hat AI Inference Server rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 2 python3.12-gitpython 3.1.60-1.el9ap, automation-controller 4.7.18-1.el9ap, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform-24/controller-rhel8, ansible-automation-platform-25/controller-rhel8, +2 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-feature-server-rhel9, rhoai/odh-th-torch-cpu-py312-rhel9, rhoai/odh-th-torch-cuda-py312-rhel9, rhoai/odh-th-torch-rocm-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9, +15 more Red Hat Satellite 6 satellite/iop-vmaas-rhel9, satellite/iop-vulnerability-engine-rhel9affected: workaround, no fix available
-
Red Hat OpenShift AI 3.4 rhoai/odh-mlflow-rhel9 1793002327, rhoai/odh-th06-cpu-torch210-py312-rhel9 1793084640, rhoai/odh-th06-rocm64-torch291-py312-rhel9 1792745990, rhoai/odh-th06-cuda130-torch210-py312-rhel9 1792748650, rhoai/odh-training-cuda128-torch29-py312-rhel9 1792890022fixed: vendor fix RHSA-2026:92510
-
Red Hat Satellite 6.16 for RHEL 8 python-pyyaml 6.0.1-1.el8pc, python-gitpython 3.2.1-1.el8pc, python3.11-pyyaml 6.0.1-1.el8pc, python3.11-gitpython 3.2.1-1.el8pc Red Hat Satellite 6.16 for RHEL 9 python-pyyaml 6.0.1-1.el9pc, python-gitpython 3.2.1-1.el9pc, python3.11-pyyaml 6.0.1-1.el9pc, python3.11-gitpython 3.2.1-1.el9pcfixed: vendor fix RHSA-2026:95655
-
Red Hat Satellite 6.17 for RHEL 9 python-gitpython 3.2.1-1.el9pc, python3.11-gitpython 3.2.1-1.el9pcfixed: vendor fix RHSA-2026:95656
-
Red Hat Satellite 6.18 for RHEL 9 python3.12-gitpython 3.2.1-1.el9pcfixed: vendor fix RHSA-2026:95657
show 5 moreshow fewer
-
Red Hat Satellite 6.19 for RHEL 9 python3.12-gitpython 3.2.1-1.el9pcfixed: vendor fix RHSA-2026:92861
-
Red Hat Ansible Automation Platform 2 python-gitpython 3.1.40-1.el9ap, python3x-gitpython 3.1.40-1.el8ap, python3.11-gitpython 3.1.41-1.el9apnot affected: vulnerable code not in execute path
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-th06-cpu-torch291-py312-rhel9, rhoai/odh-th06-cuda130-torch291-py312-rhel9 Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1792722177, rhoai/rhai-cli-rhel9 1792722177, rhoai/odh-automl-rhel9 1792697253, rhoai/odh-autorag-rhel9 1793265800, rhoai/odh-trainer-rhel9 1792817113, rhoai/odh-eval-hub-rhel9 1792976377, +95 morenot affected: vulnerable code not present
-
Red Hat OpenStack Platform 13 (Queens) GitPython 1.0.1-5.el7ost Red Hat OpenStack Platform 16.2 python3-GitPython Red Hat OpenStack Platform 17.1 python3-GitPython, GitPython 1.0.1-5.el7ostnot affected: vulnerable code not in execute path
-
Red Hat Satellite 6.16 for RHEL 8 python-nh3 0.3.0-2.el8pc, python-brotli 1.2.1-1.el8pc, python-django 4.2.30-2.el8pc, python-pillow 13.0.0-1.el8pc, python-urllib3 2.8.0-1.el8pc, python3.11-nh3 0.3.0-2.el8pc, +10 more Red Hat Satellite 6.16 for RHEL 9 python-nh3 0.3.0-2.el9pc, python-brotli 1.2.1-1.el9pc, python-django 4.2.30-2.el9pc, python-pillow 13.0.0-1.el9pc, python-urllib3 2.8.0-1.el9pc, python3.11-nh3 0.3.0-2.el9pc, +10 more Red Hat Satellite 6.17 for RHEL 9 python-brotli 1.2.1-1.el9pc, python-django 4.2.30-2.el9pc, python-pillow 13.0.0-1.el9pc, python-urllib3 2.8.0-1.el9pc, openvox-agent 8.32.0-1.el9sat, openvox-server 8.18.0-1.el9sat, +6 more Red Hat Satellite 6.18 for RHEL 9 openvox-agent 8.32.0-1.el9sat, openvox-server 8.18.0-1.el9sat, python3.12-brotli 1.2.1-1.el9pc, python3.12-django 4.2.30-3.el9pc, python3.12-pillow 13.0.0-1.el9pc, python3.12-urllib3 2.8.0-1.el9pc, +2 more Red Hat Satellite 6.19 for RHEL 9 openvox-agent 8.31.1-1.el9sat, openvox-server 8.17.0-1.el9sat, python3.12-brotli 1.2.1-1.el9pc, python3.12-django 4.2.30-3.el9pc, python3.12-pillow 13.0.0-1.el9pc, python3.12-urllib3 2.8.0-1.el9pc, +2 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 17 d ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gitpython | <3.2.1 |
3.2.1 |
Affected products
- gitpython-developers GitPython
Classification
- Weakness
-
- CWE-696 Incorrect Behavior Order
References
-
github.com
/gitpython-developers/GitPython/pull/2264
web
-
github.com
/gitpython-developers/GitPython/commit/97eadb888d2f99567e3113f4e455be4ca128f697
web
-
github.com
/gitpython-developers/GitPython/security/advisories/GHSA-83vg-56qc-22m7
web
-
github.com
/gitpython-developers/GitPython/releases/tag/3.2.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-114145
advisory
-
github.com
/gitpython-developers/GitPython
package
Sources
- CVE List CVE-2026-114145
- GitHub Advisory GHSA-83vg-56qc-22m7
- NVD CVE-2026-114145
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.