Improper Neutralization of Special Elements in Output Used by a Downstream Component in GitPython - CVE-2026-76221
Published: August 5, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper neutralization of special elements in output used by a downstream component in the GitPython config writer when writing attacker-controlled option names into git configuration files. A remote user can supply a crafted option name to forge git configuration directives and execute arbitrary code.
Exploitation requires an embedding application to pass a caller-influenced option name to the configuration writer, and code execution occurs on a subsequent git operation such as an ssh git action or hook execution.
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 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
Python 3 Module
openSUSE Leap
openEuler
python311-GitPython
python-GitPython
python-GitPython-help
python3-GitPython
python-git (Debian package)
How to mitigate CVE-2026-76221
python311-GitPython - update to 3.1.34.1693646983.2a2ae77-150400.9.8.1
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
python-git (Debian package) - update to 3.1.44-1+deb13u1