CVE-2026-73623
GitPython before 3.1.54 Remote Code Execution via --template
- State
- Published
- Severity
- 7.7 High
- Published
- Aug 13, 2026
- Updated
- Oct 8, 2026
- Reserved
- Aug 13, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.7 High | 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 | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
GitPythongitpython-developers |
|
References
- GitHub Security Advisory (GHSA-6p8h-3wgx-97gf)vendor-advisory
- VulnCheck Advisory: GitPython before 3.1.54 Remote Code Execution via --templatethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.