Bug 2523196 (CVE-2026-78678) - CVE-2026-78678 gitpython: GitPython: Arbitrary file read via Repo.blame()
Summary: CVE-2026-78678 gitpython: GitPython: Arbitrary file read via Repo.blame()
Keywords:
Status: NEW
Alias: CVE-2026-78678
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-25 01:52 UTC by OSIDB Bzimport
Modified: 2026-09-09 11:50 UTC (History)
40 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-25 01:52:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.