Vulnerability · Published Aug 13, 2026 · Assigned by VulnCheck
CVE-2026-73625GitPython before 3.1.54 Remote Code Execution via kwarg value smuggling
High 8.8
In plain English
A high-severity OS command injection in GitPython from gitpython-developers. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-git | 3.1.30-1+deb12u3 | DEBIAN-CVE-2026-73625 |
| Debian:13 | python-git | 3.1.44-1+deb13u1 | DEBIAN-CVE-2026-73625 |
| Debian:14 | python-git | 3.1.61-1 | DEBIAN-CVE-2026-73625 |
| PyPI | gitpython | 3.1.54 | GHSA-r9mr-m37c-5fr3 |
| PyPI | gitpython | 3.1.54 | PYSEC-2026-3953 |
| Ubuntu:26.10 | python-git | no fix listed | UBUNTU-CVE-2026-73625 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gitpython-developers | GitPython | 0 – before 3.1.54 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-r9mr-m37c-5fr3) vendor-advisory
- VulnCheck Advisory: GitPython before 3.1.54 Remote Code Execution via kwarg value smuggling third-party-advisory