This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page.
View CVE-2026-78678 →
DEBIAN-CVE-2026-78678
GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowin...
Original description
The description as published by the source.
GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing these options to Repo.blame(). Attackers can supply revision values like --contents=/etc/passwd to leak file contents through the blame result returned to the caller.
Source: OSV.dev (Open Source Vulnerabilities) OSV
Affected packages
Debian:12
python-git
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:13
python-git
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:14
python-git
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.61-1"}]}]
References
- advisory security-tracker.debian.org