CVE-2026-78678: Python Gitpython Blame Option Injection

The blame argument guard polices Repo.blame()/Repo.blame_incremental() with the generic revision denylist (Repo.unsafe_git_revision_options), which only contains the file-WRITE options --output/-o. git-blame's file-READING options -- --contents=<file>, -S <file> and --ignore-revs-file <file>, plus clustered short-option spellings such as -wS<file> -- are the

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-78678-python-gitpython-blame-option-injection --engine opengrep

Description

The blame argument guard polices Repo.blame()/Repo.blame_incremental() with the generic revision denylist (Repo.unsafe_git_revision_options), which only contains the file-WRITE options --output/-o. git-blame's file-READING options -- --contents=<file>, -S <file> and --ignore-revs-file <file>, plus clustered short-option spellings such as -wS<file> -- are the