CVE-2026-69097 json
GitPython before 3.1.53 Config Injection via Submodule Names
published 2026-07-24 3 mo ago modified 2026-10-23 16 d ago also GHSA-3rp5-jjmw-4wv2 , PYSEC-2026-3981 , EUVD-2026-52290
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject arbitrary configuration directives through malicious submodule names. Attackers can inject core.sshCommand or other dangerous config keys into the victim's .git/config via create_submodule or clone_from operations, achieving remote code execution when git performs ssh operations.
Patch / fix
- pypi gitpython 3.1.53
- gitpython-developers GitPython 3.1.53
- python-git Debian 12 3.1.30-1+deb12u3
- python-git Debian 13 3.1.44-1+deb13u1
- python-git Debian 14 3.1.61-1
debian advisories DEBIAN-CVE-2026-69097
- python-GitPython SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 3.1.34.1693646983.2a2ae77-150400.9.8.1
suse advisories SUSE-SU-2026:4072-1
- python-GitPython openSUSE Leap 16.0 3.1.44-160000.4.1
- python-GitPython openSUSE Tumbleweed 3.1.58-1.1
opensuse advisories openSUSE-SU-2026:21874-1openSUSE-SU-2026:11466-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-69097 updated cvss 7.0
gitpython: GitPython: Remote Code Execution via Config Injection in Submodule Names
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/controller-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-th06-cpu-torch291-py312-rhel9, rhoai/odh-th06-cuda130-torch291-py312-rhel9 Red Hat OpenStack Platform 17.1 rhosp-rhel9/openstack-tripleoclient Red Hat Satellite 6 python-gitpython, python3.12-gitpythonaffected: workaround, no fix available
-
Red Hat OpenShift AI 2.25 rhoai/odh-feature-server-rhel9 1792148523, rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 1792563127fixed: vendor fix RHSA-2026:87410
-
Red Hat OpenShift AI 3.4 rhoai/odh-th06-cpu-torch210-py312-rhel9 1791874335, rhoai/odh-th06-rocm64-torch291-py312-rhel9 1791872119, rhoai/odh-th06-cuda130-torch210-py312-rhel9 1791961113, rhoai/odh-training-cuda128-torch29-py312-rhel9 1791786619, rhoai/odh-trustyai-nemo-guardrails-server-rhel9 1791556128, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 1792721112, +14 morefixed: vendor fix RHSA-2026:92510
-
Red Hat OpenShift AI 3.5 rhoai/odh-th-torch-cpu-py312-rhel9 1791926611, rhoai/odh-th-torch-cuda-py312-rhel9 1791927642, rhoai/odh-th-torch-rocm-py312-rhel9 1791925861, rhoai/odh-training-cuda128-torch29-py312-rhel9 1791927231, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 1791816462, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9 1791951049, +15 morefixed: vendor fix RHSA-2026:86891
-
Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9, exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 Red Hat Pen Drive Powered by Red Hat Lightspeed pen-drive/pen-drive-scanner-rhel9 Red Hat AI Inference Server rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9 Red Hat Ansible Automation Platform 2 python-gitpython, python3x-gitpython, python3.11-gitpython, python3.12-gitpython, automation-controller 4.7.17-1.el9ap, ansible-automation-platform-24/hub-rhel8, +6 more Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9not affected: vulnerable code not present
-
Red Hat Hardened Images llvm, rust, llvm21, swift-lang Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9not affected: component not present
-
Red Hat OpenShift AI 2.25 rhoai/odh-rhel9-operator 1792570619, rhoai/odh-vllm-cpu-rhel9 1792018436, rhoai/odh-dashboard-rhel9 1791853525, rhoai/odh-modelmesh-rhel9 1790881700, rhoai/odh-operator-bundle 1792571069, rhoai/odh-vllm-cuda-rhel9 1791358976, +64 more Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1791509689, rhoai/odh-cli-rhel9 1792722177, rhoai/rhai-cli-rhel9 1791509689, rhoai/rhai-cli-rhel9 1792722177, rhoai/odh-automl-rhel9 1791535789, rhoai/odh-automl-rhel9 1792697253, +186 more Red Hat OpenShift AI 3.5 rhoai/odh-cli-rhel9 1791945905, rhoai/rhai-cli-rhel9 1791945905, rhoai/odh-automl-rhel9 1791916705, rhoai/odh-mlflow-rhel9 1791947857, rhoai/odh-autorag-rhel9 1791903266, rhoai/odh-trainer-rhel9 1791952138, +92 more Red Hat OpenStack Platform 13 (Queens) GitPython 1.0.1-5.el7ost Red Hat OpenStack Platform 16.2 python3-GitPython, rhosp-rhel8/openstack-mistral-api, rhosp-rhel8/openstack-mistral-base, rhosp-rhel8/openstack-tripleoclient, rhosp-rhel8/openstack-mistral-engine, rhosp-rhel8/openstack-nova-scheduler, +2 more Red Hat OpenStack Platform 17.1 python3-GitPython, GitPython 1.0.1-5.el7ostnot affected: vulnerable code not present
+1 more productsfewer
Red Hat Satellite 6 python-gitdb, python-smmap, satellite/iop-vmaas-rhel9, satellite/iop-vulnerability-engine-rhel9
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
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 3 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3rp5-jjmw-4wv2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.3 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 7.3 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/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 |
| NVD | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gitpython | <3.1.53 |
3.1.53 |
Affected products
- gitpython-developers GitPython
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/gitpython-developers/GitPython/pull/2176
web
-
github.com
/gitpython-developers/GitPython/commit/1ed1b924f4e2d2ee7bab296df77b978af21853f1
web
-
github.com
/gitpython-developers/GitPython/security/advisories/GHSA-3rp5-jjmw-4wv2
vendor-advisory, exploit, web, mitigation, evidence
-
vulncheck.com
/advisories/gitpython-before-config-injection-via-submodule-names
third-party-advisory, web, advisory
-
github.com
/gitpython-developers/GitPython
package
-
github.com
/gitpython-developers/GitPython/releases/tag/3.1.53
web
-
github.com
/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3981.yaml
web
Sources
- CVE List CVE-2026-69097
- GitHub Advisory GHSA-3rp5-jjmw-4wv2
- NVD CVE-2026-69097
- OSV PYSEC-2026-3981
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.