MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-78678GHSA-5xxx-qhh7-9287

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

Not on CISA KEVCVSS 6.5 (v3.1)
  • Overview

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)