Debian Security Tracker
DEBIAN-CVE-2026-73623
Details
GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing malicious post-checkout hooks that execute when git clones the repository.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | python-git | All versions before 3.1.30-1+deb12u3 (fixed in 3.1.30-1+deb12u3) |
| Debian:13 | python-git | All versions before 3.1.44-1+deb13u1 (fixed in 3.1.44-1+deb13u1) |
| Debian:14 | python-git | All versions before 3.1.61-1 (fixed in 3.1.61-1) |