GitPython versions before 3.1.59 contain an incomplete denylist in the unsafegitrevision_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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78678.json",
"cwe_ids": [
"CWE-88"
],
"cna_assigner": "VulnCheck"
}{
"source": [
"AFFECTED_FIELD",
"DESCRIPTION"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.1.59"
}
]
}