CVE-2026-73623
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.96%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 4.0
- 7.7 HIGHCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 0.96% probability · 60th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- gitpython project/gitpython
- Source
- disclosure@vulncheck.com
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gfExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-templateThird Party Advisory
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gfExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.