Debian Security Tracker
DEBIAN-CVE-2026-78679
Details
GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file=<path> to read arbitrary files, with contents returned in the annotated tag message.
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) |