GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.
References
| Link | Resource |
|---|---|
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-and-read | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-08-13 12:17
Updated : 2026-09-03 16:09
NVD link : CVE-2026-73620
Mitre link : CVE-2026-73620
CVE.ORG link : CVE-2026-73620
JSON object : View
Products Affected
gitpython_project
- gitpython
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
