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.
References
| Link | Resource |
|---|---|
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc | Exploit Mitigation Third Party Advisory |
| https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-diff | Third Party Advisory |
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc | Exploit Mitigation Third Party Advisory |
Configurations
History
23 Oct 2026, 18:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
28 Sep 2026, 18:42
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* | |
| First Time |
Gitpython Project gitpython
Gitpython Project |
|
| References | () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc - Exploit, Mitigation, Third Party Advisory | |
| References | () https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-diff - Third Party Advisory |
Information
Published : 2026-08-13 12:17
Updated : 2026-10-24 15:10
NVD link : CVE-2026-73624
Mitre link : CVE-2026-73624
CVE.ORG link : CVE-2026-73624
JSON object : View
Products Affected
gitpython_project
- gitpython
CWE
CWE-88
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
