What’s Vulnerable › Vulnerabilities

CVE-2026-73625: GitPython before 3.1.54 Remote Code Execution via kwarg value smuggling

Description

GitPython versions before 3.1.54 contain a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive methods to execute arbitrary OS commands via the --upload-pack parameter.

Affected products

How to fix

Upgrade to a fixed version: gitpython-developers GitPython 3.1.54. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-73625 or the next vulnerability affects your stack