gitpython
Affected
- introduced
0, fixed3.1.53(ecosystem)
Fixed versions
3.1.53
Fix
- Fixed version
3.1.53pip install --upgrade gitpython==3.1.53
Advisory
Also known as: CVE-2026-69097, GHSA-3rp5-jjmw-4wv2
The record has no 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.
High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
0, fixed 3.1.53 (ecosystem)3.1.53
3.1.53pip install --upgrade gitpython==3.1.53Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0