CVE-2026-73623: GitPython before 3.1.54 Remote Code Execution via --template

Published Aug 13, 2026
·
Updated

GitPython before 3.1.54 contains an incomplete denylist in unsafegitcloneoptions 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

1 affected component
GitPython GitPython<3.1.54

Event History

Aug 13, 2026
CVE Published
via MITRE·11:28 AM
Data Sourced
via MITRE·11:28 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-73623?

The severity of CVE-2026-73623 is high, with a score of 7.5.

2

What vulnerability does CVE-2026-73623 describe?

CVE-2026-73623 describes a remote code execution vulnerability in GitPython before version 3.1.54 due to an incomplete denylist in unsafe_git_clone_options.

3

How do I fix CVE-2026-73623?

To fix CVE-2026-73623, upgrade to GitPython version 3.1.54 or later.

4

What type of attack is possible with CVE-2026-73623?

CVE-2026-73623 allows attackers to achieve arbitrary command execution during clone operations.

5

What options are unsafe in GitPython related to CVE-2026-73623?

The unsafe option omitted in GitPython related to CVE-2026-73623 is the --template option.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203