Skip to main content
VulnerabilityPublished Updated

CVE-2026-73623: GitPython · OS Command Injection

Affects GitPythonSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.7 High : upgrade to 3.1.54 soon.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.1.54
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 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 13 Nov 2026.

What to do

Upgrade GitPython and gitpython to 3.1.54.

Affected software

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

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

AI-suggested

Until then, avoid using untrusted input for clone options, especially the --template parameter.

Description

GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing malicious post-checkout hooks that execute when git clones the repository.

References

Community reviews

Loading reviews…