Argument injection in GitPython - CVE-2026-78679

 

Argument injection in GitPython - CVE-2026-78679

Published: September 30, 2026


Vulnerability identifier: #VU152984
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-78679
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 TagReference.create() when forwarding a caller-influenced positional reference value to git tag. A remote user can supply a reference value containing a --file option to disclose sensitive information.

Exploitation requires an embedding application to forward a caller-influenced reference value to TagReference.create().


Affected software

GitPython
openEuler
python-GitPython
python-GitPython-help
python3-GitPython

How to mitigate CVE-2026-78679

Install security update from vendor's website.

GitPython - update to 3.1.59
python-GitPython - update to 3.1.59-1
python-GitPython-help - update to 3.1.59-1
python3-GitPython - update to 3.1.59-1

External References

Related Security Bulletins