RCE in Gitpython-Developers Gitpython
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. Attackers can supply --template pointing to a directory containing malicious post-checkout hooks that execute when git clones the repository.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 62.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gitpython-Developers Gitpython — versions 0, 3.1.54
- Gitpython Project
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-6p8h-3wgx-97gf) (vendor-advisory, Exploit, Vendor Advisory)
- VulnCheck Advisory: GitPython before 3.1.54 Remote Code Execution via --template (Third Party Advisory, third-party-advisory)