# CVE-2026-73620: GitPython before 3.1.57 Arbitrary File Overwrite and Read

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.1.57 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-13 · Modified: 2026-10-08
- Aliases: GHSA-3f7w-8rr8-f37f, PYSEC-2026-3949, UBUNTU-CVE-2026-73620, DEBIAN-CVE-2026-73620
- Record: https://cvemate.com/vulnerability/CVE-2026-73620 · JSON: https://cvemate.com/vulnerability/CVE-2026-73620/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.359%, percentile 31.625%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian python-git (Debian): All versions (No fix recorded) \| \< 3.1.30-1+deb12u3 \| \< 3.1.44-1+deb13u1 \| \< 3.1.61-1
- ubuntu python-git (Ubuntu): All versions (No fix recorded)
- gitpython\_project gitpython: \< 3.1.57
- gitpython-developers gitpython: \< 3.1.57
- PyPI gitpython (PyPI): \< 3.1.57

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f>
- <https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-and-read>
- <https://github.com/gitpython-developers/GitPython/pull/2193>
- <https://github.com/gitpython-developers/GitPython/commit/3af0c2516c5e18c829da30338614688f6b69b49c>
- <https://github.com/gitpython-developers/GitPython>
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57>
- <https://ubuntu.com/security/CVE-2026-73620>
- <https://www.cve.org/CVERecord?id=CVE-2026-73620>
- <https://security-tracker.debian.org/tracker/CVE-2026-73620>

---

Data as of 2026-12-05T04:46:55.688Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
