| Name | CVE-2026-73620 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4872-1, DSA-6594-1 |
| Debian Bugs | 1144344 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| python-git (PTS) | bookworm | 3.1.30-1+deb12u2 | vulnerable |
| bookworm (security) | 3.1.30-1+deb12u3 | fixed | |
| trixie | 3.1.44-1 | vulnerable | |
| trixie (security) | 3.1.44-1+deb13u1 | fixed | |
| forky, sid | 3.2.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| python-git | source | bookworm | 3.1.30-1+deb12u3 | DLA-4872-1 | ||
| python-git | source | trixie | 3.1.44-1+deb13u1 | DSA-6594-1 | ||
| python-git | source | (unstable) | 3.1.61-1 | 1144344 |
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f
Fixed by: https://github.com/gitpython-developers/GitPython/commit/3af0c2516c5e18c829da30338614688f6b69b49c (3.1.57)