Improper Neutralization of Argument Delimiters in a Command in GitPython - CVE-2026-78678
Published: August 26, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper neutralization of argument delimiters in Repo.blame() and Repo.blame_incremental() when processing a caller-influenced revision value. A remote user can pass a specially crafted revision option such as --contents=<path> or -S <file> to disclose sensitive information.
The file contents are echoed into the blame result returned to the caller, and the issue occurs with the default allow_unsafe_options=false setting.