Vulnerability · Published Aug 13, 2026 · Assigned by VulnCheck
CVE-2026-73624GitPython before 3.1.54 Arbitrary File Overwrite via diff
High 8.1
In plain English
A high-severity argument injection in GitPython from gitpython-developers. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-git | 3.1.30-1+deb12u3 | DEBIAN-CVE-2026-73624 |
| Debian:13 | python-git | 3.1.44-1+deb13u1 | DEBIAN-CVE-2026-73624 |
| Debian:14 | python-git | 3.1.61-1 | DEBIAN-CVE-2026-73624 |
| PyPI | gitpython | 3.1.54 | GHSA-fjr4-x663-mwxc |
| PyPI | gitpython | 3.1.54 | PYSEC-2026-3995 |
| Ubuntu:26.10 | python-git | no fix listed | UBUNTU-CVE-2026-73624 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gitpython-developers | GitPython | 0 – before 3.1.54 |
Weakness: CWE-88 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
References
- GitHub Security Advisory (GHSA-fjr4-x663-mwxc) vendor-advisory
- VulnCheck Advisory: GitPython before 3.1.54 Arbitrary File Overwrite via diff third-party-advisory