Improper Neutralization of Argument Delimiters in a Command in GitPython - #VU139092

 

Improper Neutralization of Argument Delimiters in a Command in GitPython - #VU139092

Published: July 22, 2026


Vulnerability identifier: #VU139092
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gitpython-developers
Affected software:
GitPython

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary os commands.

The vulnerability exists due to improper neutralization of argument delimiters in a command in the check_unsafe_options guard and single-character kwarg transformation logic when processing user-supplied keyword arguments for guarded git methods. A remote user can supply a single-character kwarg value that is transformed into a separate unsafe git option token to execute arbitrary os commands.

In the default configuration, the issue affects guarded methods including clone, fetch, pull, push, ls_remote, iter_commits, blame, and archive.


Remediation

Install security update from vendor's website.

Sources