Vulnocalypse
Back to feed
27impact

GitPython before 3.1.59 Arbitrary File Read via Repo.blame()

gitpython-developers GitPython · CVE-2026-78678
0 news outlets0 CERTs and agencies0 researchers

What is it?

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.

Evidence

No coverage recorded yet.

Exploitation

  • Public proof of concept
  • Exploited in the wild
  • Listed as known exploited
CVSS
6.5
EPSS
0.4%
First seen
7 d ago
Status
corroborated

All gitpython-developers vulnerabilities