
CVE catalog
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 inj
- Severity
- High · CVSS 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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.27% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-git | sid | 3.2.1-1 | fixed |
| Debian | python-git | forky | 3.2.1-1 | fixed |
| Debian | python-git | trixie | 3.1.44-1 | vulnerable |
| Debian | python-git | bookworm | 3.1.30-1+deb12u2 | vulnerable |
| Cpe | gitpython | Not reported | 3.1.53 | fixed |
| PyPI | gitpython | Not reported | 3.1.53 | fixed |
| PyPI | gitpython | Not reported | 3.1.53 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-git | source | sid | 3.1.61-1 | not yet assigned | Not reported | [1143602] |
| Debian | python-git | source | forky | 3.1.61-1 | not yet assigned | Not reported | [1143602] |
| Debian | python-git | source | trixie | (unfixed) | not yet assigned | Not reported | [1143602] |
| Debian | python-git | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143602] |
| Cpe | gitpython | cpe | Not reported | 3.1.53 | Not reported | NVD-CVE-2026-69097 | Not reported |
| PyPI | gitpython | PyPI | Not reported | 3.1.53 | Not reported | PYSEC-2026-3981 | Not reported |
| PyPI | gitpython | PyPI | Not reported | 3.1.53 | Not reported | GHSA-3RP5-JJMW-4WV2 | Not reported |
Notes
[trixie] python-git: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-git]Affected
Source package: [python-git]
Details (2)
3.1.30-1+deb12u2· all · bookwormAffected
nvd · python-git · debian · bookworm; nvd · python-git · debian · 12
3.1.30-1+deb12u2· all · bookwormAffected
nvd · python-git · debian · bookworm; nvd · python-git · debian · 12
- [python-git-doc]Affected
Source package: [python-git]
Details (2)
3.1.30-1+deb12u2· all · bookwormAffected
nvd · python-git · debian · bookworm; nvd · python-git · debian · 12
3.1.30-1+deb12u2· all · bookwormAffected
nvd · python-git · debian · bookworm; nvd · python-git · debian · 12
[Debian 13 (Trixie)]
- [python3-git]Affected
Source package: [python-git]
Details (2)
3.1.44-1· all · trixieAffected
nvd · python-git · debian · 13
3.1.44-1· all · trixieAffected
nvd · python-git · debian · 13
- [python-git-doc]Affected
Source package: [python-git]
Details (2)
3.1.44-1· all · trixieAffected
nvd · python-git · debian · 13
3.1.44-1· all · trixieAffected
nvd · python-git · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:86891]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11466-1.json]
- [https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3rp5-jjmw-4wv2]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-69097]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-69097]
- [https://osv.dev/vulnerability/PYSEC-2026-3981]
- [https://security-tracker.debian.org/tracker/CVE-2026-69097]
- [https://www.vulncheck.com/advisories/gitpython-before-config-injection-via-submodule-names]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]