Arbitrary Command Execution in GitPython Affects Users
CVE-2026-73623
7.7HIGH
What is CVE-2026-73623?
GitPython prior to version 3.1.54 contains an incomplete denylist in the unsafe_git_clone_options feature. This oversight allows attackers to specify the --template option during git clone operations, potentially pointing to a directory that hosts malicious post-checkout hooks. When a repository is cloned, these hooks can execute unauthorized commands, leading to significant security risks for users leveraging this library.
Affected Version(s)
GitPython 0 < 3.1.54
GitPython 3.1.54
