Vulnerability
CVE-2026-76220
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply a crafted kwargs dictionary to guarded methods like clone_from to emit a joined token parsed as --upload-pack, enabling arbitrary OS command execution at default allow_unsafe_options=False.
21 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALPINE-CVE-2026-76220
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply…
- ALPINE-EDGE-CVE-2026-76220
- CGA-5jxh-5r7v-rm9r
- CGA-6mqp-f56c-46v7
- CGA-8qm7-9jh6-58j5
- CGA-g4q9-r9xp-9h43
- CGA-hgj9-974w-8g5p
- CGA-x8g4-693m-p2cm
- CGA-xr77-gqpq-83xc
-
DEBIAN-CVE-2026-76220
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply…
-
DLA-4872-1
python-git - security update
-
DSA-6594-1
python-git - security update
-
GHSA-wvpp-8hx9-p66j
GitPython: Unsafe git option guard bypass via split_single_char_options=False short-option token smuggling enables command execution
-
OESA-2026-3699
python-GitPython security update
-
OESA-2026-3700
python-GitPython security update
-
OESA-2026-3721
python-GitPython security update
-
PYSEC-2026-3843
GitPython: Unsafe git option guard bypass via split_single_char_options=False short-option token smuggling enables command execution
-
RHSA-2026:63385
Red Hat Security Advisory: Satellite 6.19.4 Async Update
-
SUSE-SU-2026:4072-1
Security update for python-GitPython
-
UBUNTU-CVE-2026-76220
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply…
-
openSUSE-SU-2026:21874-1
Security update for python-GitPython