Vulnerability in Gitpython-Developers Gitpython

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, 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.

EPSS: 0.002 (13.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-78678?
CVE-2026-78678 is a medium-severity vulnerability in Gitpython-Developers Gitpython, classified under Argument Injection. CVSS score: 6.5/10. Published 2026-08-25.
How severe is CVE-2026-78678?
Medium severity. CVSS v3 base score is 6.5 out of 10.