CVE-2026-73620
High
Description
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.
SeverityHigh
CVSS8.1
Exploit probability—
ProductGitpython
PublishedAug 13, 2026
First seenAug 13, 2026
Weakness typeCWE-22Path traversal
How to fix
Update
- gitpython_project gitpython3.1.57 or later
- gitpython3.1.57 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitpython_project gitpython | v < 3.1.57 | 3.1.57 |
| gitpythonPyPI | v < 3.1.57 | 3.1.57 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.