{"id":"CVE-2026-73623","revision":"e0e88c1a8588490c87fc2b8722eca690","records":[{"revision":"e0e88c1a8588490c87fc2b8722eca690","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-73623","aliases":[],"title":"GitPython before 3.1.54 Remote Code Execution via --template","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.","state":0,"publishedAt":"2026-08-13T11:28:23.477+00:00","modifiedAt":"2026-10-08T15:24:44.174+00:00","affected":[{"ecosystem":"Vendor product","name":"GitPython","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gitpython-developers\",\n                    \"product\": \"GitPython\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:pypi/gitpython\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.1.54\"\n                        },\n                        {\n                            \"version\": \"3.1.54\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf","https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-template"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-73623","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-73623","identifiers":["CVE-2026-73623"]},"retained":false,"historicalAffected":[]}],"coverage":[]}