CVE-2026-73623

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGitpython
PublishedAug 13, 2026
First seenAug 13, 2026

How to fix

Update
  • gitpython_project gitpython3.1.54 or later
  • gitpython3.1.54 or later

Affected products

ProductAffected versionsFixed in
gitpython_project gitpythonv < 3.1.543.1.54
gitpythonPyPIv < 3.1.543.1.54

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.