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
| Link | Resource |
|---|---|
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-template | Third Party Advisory |
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf | Exploit Vendor Advisory |
Configurations
History
23 Oct 2026, 18:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
03 Sep 2026, 16:09
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Gitpython Project gitpython
Gitpython Project |
|
| CPE | cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* | |
| References | () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf - Exploit, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-template - Third Party Advisory |
15 Aug 2026, 04:18
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf - |
13 Aug 2026, 12:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-08-13 12:17
Updated : 2026-10-24 15:10
NVD link : CVE-2026-73623
Mitre link : CVE-2026-73623
CVE.ORG link : CVE-2026-73623
JSON object : View
Products Affected
gitpython_project
- gitpython
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
