← Vulnerability feed

Vulnerability record · CVE-2026-76220 · published 19 August 2026

CVE-2026-76220: Gitpython project gitpython argument injection vulnerability

Gitpython Project · Gitpython

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.

8.7 CVSS 4.0 High EPSS 0.91% · top 41.6% CWE-88 · Argument injection
8.7CVSS 4.0 base score
0.91%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 1 tagged exploit
3 Sep 2026Last modified by NVD

Description

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.

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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-76220 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-42284Gitpython project gitpython argument injection vulnerabilityGitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates multi_options as the original list,…EPSS 0.71%9.8CVE-2023-40267Gitpython project gitpython vulnerabilityGitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for C…EPSS 1.2%9.8CVE-2022-24439Gitpython project gitpython improper input validation vulnerabilityAll versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inj…EPSS 5.7%9.3CVE-2026-78676Gitpython project gitpython argument injection vulnerabilityGitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into inje…EPSS 0.78%9.3CVE-2026-67324Gitpython project gitpython os command injection vulnerabilityGitPython 3.1.50 fails to recognize joined short-option forms such as -u<value> (the short form of --upload-pack=<value>) when enforcing its default …EPSS 0.64%8.8CVE-2026-42215Gitpython project gitpython os command injection vulnerabilityGitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git op…EPSS 0.90%8.7CVE-2026-87819Gitpython project gitpython inefficient regular expression (redos) vulnerabilityGitPython before 3.1.60 contains a regular expression denial of service vulnerability in Actor.name_email_regex that processes commit author and comm…EPSS 0.52%8.7CVE-2026-87817Gitpython project gitpython code injection vulnerabilityGitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked file…EPSS 0.40%

Source: NIST National Vulnerability Database (record CVE-2026-76220), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.