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.
References
| Link | Resource |
|---|---|
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-r9mr-m37c-5fr3 | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-kwarg-value-smuggling | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-08-13 12:17
Updated : 2026-09-03 16:07
NVD link : CVE-2026-73625
Mitre link : CVE-2026-73625
CVE.ORG link : CVE-2026-73625
JSON object : View
Products Affected
gitpython_project
- gitpython
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
