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
No history.
Information
Published : 2026-08-13 12:17
Updated : 2026-09-03 16:09
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')
