Improper Neutralization of Argument Delimiters in a Command in GitPython - CVE-2026-73621
Published: July 31, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a remote user to truncate an arbitrary file.
The vulnerability exists due to improper neutralization of argument delimiters in a command in Commit.count when forwarding user-supplied keyword arguments to git rev-list. A remote user can supply a crafted output argument to truncate an arbitrary file.
The file is truncated to 0 bytes at the privilege level of the running process.
Affected software
openEuler
python-GitPython
python-GitPython-help
python3-GitPython
How to mitigate CVE-2026-73621
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