cve.bz

CVE-2026-69097 gitpython project gitpython: Injection

7.3 highExploit referenceEPSS 0.3%Fix available

High (7.3) in gitpython project gitpython. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in gitpython 3.1.53.

On this page
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.

Severity

CVSS 4.0

7.3 high
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

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-08-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-69097 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-69097?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-69097?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-69097 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
gitpython-developers GitPythonbefore 3.1.53

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3rp5-jjmw-4wv2PyPIgitpython<3.1.533.1.53
PYSEC-2026-3981PyPIgitpython<3.1.533.1.53

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-git3.1.30-1+deb12u3DEBIAN-CVE-2026-69097
Debian13python-git3.1.44-1+deb13u1DEBIAN-CVE-2026-69097
Debian14python-git3.1.61-1DEBIAN-CVE-2026-69097
Ubuntu26.10, Pro:14.04:LTS, Pro:16.04:LTS and 5 morepython-gitno fix listedUBUNTU-CVE-2026-69097
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morepython-GitPython3.1.34.1693646983.2a2ae77-150400.9.8.1SUSE-SU-2026:4072-1
openSUSELeap 16.0python-GitPython3.1.44-160000.4.1openSUSE-SU-2026:21874-1
openSUSETumbleweedpython-GitPython3.1.58-1.1openSUSE-SU-2026:11466-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate: This flaw in GitPython allows for remote code execution within Red Hat products that utilize GitPython to process Git repositories. An attacker could inject arbitrary Git configuration directives, such as `core.sshCommand`, by crafting malicious submodule names. This occurs when a user performs `create_submodule` or `clone_from` operations on an untrusted repository, leading to code execution during subsequent Git SSH operations.

Red Hat's mitigation

To mitigate this issue, users should avoid cloning or creating submodules from untrusted Git repositories. Exercise caution when interacting with Git repositories from unknown or unverified sources, as processing malicious submodule names can lead to configuration injection and potential remote code execution. Always ensure the integrity and trustworthiness of Git repositories before performing operations that involve submodule creation or cloning.

ProductPackageStateAdvisory
Red Hat OpenShift AI 2.25rhoai/odh-feature-server-rhel9:1792148523Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 2.25rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1792563127Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 3.4rhoai/odh-th06-cpu-torch210-py312-rhel9:1791874335Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-th06-cuda130-torch210-py312-rhel9:1791961113Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-th06-rocm64-torch291-py312-rhel9:1791872119Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-training-cuda128-torch29-py312-rhel9:1791786619Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-trustyai-nemo-guardrails-server-rhel9:1791556128Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1792721265Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1792721112Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1792721273Fixed 2026-10-29RHSA-2026:92510
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Not affected
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Not affected
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/controller-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/hub-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/controller-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/hub-rhel8Not affected
74 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-69097.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON