ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-73620

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12python-git
All versions before 3.1.30-1+deb12u3 (fixed in 3.1.30-1+deb12u3)
Debian:13python-git
All versions before 3.1.44-1+deb13u1 (fixed in 3.1.44-1+deb13u1)
Debian:14python-git
All versions before 3.1.61-1 (fixed in 3.1.61-1)

References