Skip to content

Known vulnerabilities in GitPython

Is your version affected?

CVE Summary Score Published
CVE-2026-73622 GitPython before 3.1.55 fails to disable environment variable expansion in Remote.create() and Submodule.add() URL… 8.7 High Aug 13, 2026
CVE-2026-73621 GitPython before 3.1.56 contains an argument injection vulnerability in the Commit.count() method, which forwards… 5.3 Medium Aug 13, 2026
CVE-2026-73620 GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing… 7.2 High Aug 13, 2026
CVE-2026-73619 GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file… 7.1 High Aug 13, 2026
CVE-2026-69097 GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject… 7.3 High Aug 3, 2026
CVE-2026-67323 GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and… 8.6 High Aug 1, 2026
CVE-2026-67324 GitPython 3.1.50 fails to recognize joined short-option forms such as -u (the short form of --upload-pack=) when… 9.3 Critical Aug 1, 2026
CVE-2026-67326 GitPython before 3.1.50 fails to validate newline characters in the section parameter of config_writer(), allowing… 7.3 High Aug 1, 2026
CVE-2026-67322 GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from() 8.7 High Aug 1, 2026
CVE-2026-67325 GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option… 8.7 High Aug 1, 2026
CVE-2026-44243 GitPython is a python library used to interact with Git repositories 7.8 High May 7, 2026
CVE-2026-44244 GitPython is a python library used to interact with Git repositories 7.8 High May 7, 2026
CVE-2026-42284 GitPython is a python library used to interact with Git repositories 8.1 High May 7, 2026
CVE-2026-42215 GitPython is a python library used to interact with Git repositories 8.8 High May 7, 2026
CVE-2024-22190 GitPython is a python library used to interact with Git repositories 7.8 High Jan 11, 2024
CVE-2023-41040 GitPython is a python library used to interact with Git repositories 4.0 Medium Aug 30, 2023
CVE-2023-40590 GitPython is a python library used to interact with Git repositories 7.8 High Aug 28, 2023