Configuration Injection Vulnerability in GitPython by GitPython Developers
CVE-2026-69097
7.3HIGH
What is CVE-2026-69097?
GitPython versions before 3.1.53 contain a vulnerability that allows attackers to exploit improperly escaped section names in git config files. By using malicious submodule names, attackers can inject harmful configuration directives such as core.sshCommand into the victim's .git/config. This can lead to remote code execution when git executes ssh operations, potentially compromising the user's environment. Users are urged to upgrade to the latest version to mitigate this risk and protect their repositories from unauthorized access.
Affected Version(s)
GitPython 0 < 3.1.53
GitPython 3.1.53
