Vulnerability

CVE-2026-78678

highCVSS 4.0 7.1Published 25 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gitpython Project gitpython

Weakness type

References

  • github.com /gitpython-developers/GitPython/security/advisories/GHSA-5x…
  • www.vulncheck.com /advisories/gitpython-before-arbitrary-file-read-via-repo-b…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning