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

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-03T20:09:56.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-3f7w-8rr8-f37f, PYSEC-2026-3949
- Weaknesses: CWE-22, CWE-73, CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- gitpython-developers GitPython: before 3.1.57 (not affected: 3.1.57)
- gitpython (PyPI): before 3.1.57
- gitpython_project gitpython: before 3.1.57

## Every score

- VulnCheck: CVSS:4.0 7.2 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f> (exploit, evidence, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-and-read> (advisory, third-party-advisory)
- <https://github.com/gitpython-developers/GitPython/pull/2193> (web)
- <https://github.com/gitpython-developers/GitPython/commit/3af0c2516c5e18c829da30338614688f6b69b49c> (web)
- <https://github.com/gitpython-developers/GitPython> (package)
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57> (web)

## Sources

- CVE List: [CVE-2026-73620](https://www.cve.org/CVERecord?id=CVE-2026-73620), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-3f7w-8rr8-f37f](https://github.com/advisories/GHSA-3f7w-8rr8-f37f), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-73620](https://nvd.nist.gov/vuln/detail/CVE-2026-73620), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3949](https://osv.dev/vulnerability/PYSEC-2026-3949), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-73620 · Whole record: https://cve.day/CVE-2026-73620.json · Rebuilt by cve.day 2026-11-25T22:59:32.707Z
