CVE Catalog

CVE-2026-78678

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

13th percentile - higher than 13% of all known CVEs

Summary

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.

Risk Assessment

The risk includes exposure of sensitive system data, potentially leading to privilege escalation or further attacks.

Recommendation

Update GitPython to version 3.1.59 or later and avoid passing unsafe options to Repo.blame().

Other vulnerabilities in GitPython

See all
Original NVD description (English 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS