Improper Neutralization of Argument Delimiters in a Command in GitPython - CVE-2026-76220

 

Improper Neutralization of Argument Delimiters in a Command in GitPython - CVE-2026-76220

Published: August 5, 2026 / Updated: September 14, 2026


Vulnerability identifier: #VU140973
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-76220
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary commands.

The vulnerability exists due to improper neutralization of argument delimiters in a command in the unsafe option guard for git kwargs handling when processing user-controlled keyword arguments with split_single_char_options disabled. A remote user can supply a crafted single-character option value that is transformed into a joined short-option token to execute arbitrary commands.

Exploitation requires an application to forward a user-controlled kwargs dictionary to a guarded GitPython method such as clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive.


Affected software

GitPython
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-76220

Install security update from vendor's website.

GitPython - update to 3.1.58
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

External References

Related Security Bulletins