gitpython
Affected
- introduced
0, fixed3.1.59(ecosystem)
Fixed versions
3.1.59
Fix
- Fixed version
3.1.59pip install --upgrade gitpython==3.1.59
Advisory
Also known as: CVE-2026-78678, GHSA-5xxx-qhh7-9287
The record has no 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.
Not rated by the source.
0, fixed 3.1.59 (ecosystem)3.1.59
3.1.59pip install --upgrade gitpython==3.1.59Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0