Arbitrary Command Execution in GitPython Affects Users
CVE-2026-73623

7.7HIGH

Key Information:

Status
Vendor
CVE Published:
13 August 2026

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

References

CVSS V4

Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

manus-use
.