Information disclosure in GitPython - CVE-2026-76217
Published: August 5, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper access control in IndexFile.remove() and Head.checkout() when forwarding user-supplied keyword arguments to git rm and git checkout. A remote user can supply a crafted pathspec_from_file value together with pathspec_file_nul to disclose sensitive information.
The targeted file must be readable by the process, and disclosure occurs in the returned GitCommandError stderr when the supplied pathspec does not match a tracked path.
Affected software
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Desktop 15
Python 3 Module
openSUSE Leap
openEuler
python-GitPython
python-GitPython-help
python3-GitPython
python311-GitPython
python-git (Debian package)
How to mitigate CVE-2026-76217
python-GitPython - addressed in versions 3.1.32-4, 3.1.59-1
python-GitPython-help - addressed in versions 3.1.32-4, 3.1.59-1
python3-GitPython - addressed in versions 3.1.32-4, 3.1.59-1
python311-GitPython - update to 3.1.34.1693646983.2a2ae77-150400.9.8.1
python-git (Debian package) - update to 3.1.44-1+deb13u1
External References
Related Security Bulletins
- Multiple vulnerabilities in GitPython
- openEuler 22.03 LTS SP4 update for python-GitPython
- openEuler 20.03 LTS SP4 update for python-GitPython
- openEuler 24.03 LTS SP3 update for python-GitPython
- openEuler 24.03 LTS SP1 update for python-GitPython
- SUSE update for python-GitPython
- Debian update for python-git