Vulnerability
CVE-2026-69097
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.
29 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-26f2-c5ww-5g8p
- CGA-3f5c-pjjf-57fq
- CGA-3x47-q46r-2qw7
- CGA-64f6-vp4q-xx47
- CGA-6h3q-84hc-37pw
- CGA-95qr-qhw5-7gxr
- CGA-c8fg-h47p-q9mc
- CGA-c93c-8mg8-qhmg
- CGA-cjg6-wr8g-pcf6
- CGA-cjmv-jpgc-4mrr
- CGA-cvpr-9hjq-76c8
- CGA-cxwg-fp9g-2gm4
- CGA-f6c6-rgf2-87rx
- CGA-j6fp-5gwq-gcvr
- CGA-wj8j-24p8-2hgv
- CGA-xcrj-h4r2-77fj
-
DEBIAN-CVE-2026-69097
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…
-
DLA-4872-1
python-git - security update
-
DSA-6594-1
python-git - security update
-
GHSA-3rp5-jjmw-4wv2
GitPython: git-config section-name injection enables arbitrary config directives (core.sshCommand RCE)
-
OESA-2026-3353
python-GitPython security update
-
OESA-2026-3354
python-GitPython security update
-
OESA-2026-3439
python-GitPython security update
-
PYSEC-2026-3981
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…
-
SUSE-SU-2026:4072-1
Security update for python-GitPython
-
SUSEVEX-CVE-2026-69097
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…
-
UBUNTU-CVE-2026-69097
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…
-
openSUSE-SU-2026:11466-1
python313-GitPython-3.1.58-1.1 on GA media
-
openSUSE-SU-2026:21874-1
Security update for python-GitPython