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
Weakness typeCWE-78OS command injection
How to fix
Update
- gitpython_project gitpython3.1.54 or later
- gitpython3.1.54 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitpython_project gitpython | v < 3.1.54 | 3.1.54 |
| gitpythonPyPI | v < 3.1.54 | 3.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.