Improper Neutralization of Argument Delimiters in a Command in GitPython - CVE-2026-78678

 

Improper Neutralization of Argument Delimiters in a Command in GitPython - CVE-2026-78678

Published: August 26, 2026


Vulnerability identifier: #VU145795
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-78678
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

GitPython

How to mitigate CVE-2026-78678

Install security update from vendor's website.

GitPython - update to 3.1.59

External References

Related Security Bulletins