Skip to main content
VulnerabilityPublished Updated

CVE-2026-76220: GitPython · Argument Injection

Affects GitPythonSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 3.1.58 soon.

Data as of 16 Nov 2026, 20:25 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.1.58
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade GitPython and gitpython to 3.1.58.

Affected software

ProductAffectedFixed in
gitpython-developersGitPythonAffected
  • <3.1.58
Fixed in
  • 3.1.58
PyPIgitpythonpkg:pypi/gitpythonOther threatsAffected
  • <3.1.58
Fixed in
  • 3.1.58

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade GitPython to version 3.1.58 or later, where this vulnerability is fixed. Since the vulnerability is patched in 3.1.58, applying this official fix fully mitigates the issue. There is no indication that temporary workarounds or vendor advisories suggest alternative mitigations. Users should avoid using vulnerable versions.

Description

GitPython versions before 3.1.58 contain a command execution vulnerability due to improper neutralization of argument delimiters in command construction. This flaw allows attackers to bypass the check_unsafe_options guard by combining a single-character keyword argument with split_single_char_options set to false. Exploitation can lead to arbitrary OS command execution when using guarded methods such as clone_from with default allow_unsafe_options set to false.

References

Community reviews

Loading reviews…