Skip to content
CVE PROGRAM SOURCE RECORD7.7 High

CVE-2026-73623

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gitpython-developers GitPython

Default version status: unaffected

  • 0 to < 3.1.54affected
  • 3.1.54unaffected
pkg:pypi/gitpython

References