External Control of File Name or Path in GitPython - CVE-2026-73620
Published: July 31, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a remote user to overwrite arbitrary files.
The vulnerability exists due to external control of file name or path in IndexFile.checkout() when forwarding user-supplied git options to git checkout-index. A remote user can supply a crafted prefix option to overwrite arbitrary files.
The written content is taken from repository-controlled tracked files, and the overwrite can occur outside the working tree.
Affected software
openEuler
python-GitPython
python-GitPython-help
python3-GitPython
How to mitigate CVE-2026-73620
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