gitpython
Affected
- introduced
0, fixed3.1.54(ecosystem)
Fixed versions
3.1.54
Fix
- Fixed version
3.1.54pip install --upgrade gitpython==3.1.54
Advisory
Also known as: CVE-2026-73625, GHSA-r9mr-m37c-5fr3
The record has no summary.
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.
Not rated by the source.
0, fixed 3.1.54 (ecosystem)3.1.54
3.1.54pip install --upgrade gitpython==3.1.54Fix 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