CVE-2026-73623

Summary

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.

Affected Software

VendorProductVersion RangeStatus
gitpython-developersGitPython0 < 3.1.54affected
gitpython-developersGitPython3.1.54unaffected

Weaknesses

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

References