CVE-2026-67324: GitPython 3.1.50 Authentication Bypass via Joined Short Options

Published Aug 1, 2026
·
Updated

GitPython 3.1.50 fails to recognize joined short-option forms such as -u<value> (the short form of --upload-pack=<value>) when enforcing its default unsafe-option gate. When an application passes attacker-influenced clone options into Repo.clonefrom(..., multioptions=..., allowunsafeoptions=False), an attacker can supply -u<helper> to bypass the gate that blocks --upload-pack/-u, causing Git to execute the specified helper command during clone. Fixed in 3.1.51.

Affected Software

1 affected component
GitPython GitPython>=3.1.50<=3.1.50

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GitPython to a version that resolves this vulnerability.

    Fixed in 3.1.51
  2. Configuration

    Ensure allow_unsafe_options is set to False when using Repo.clone_from with attacker-influenced clone options (multi_options), so joined short options like -u<value> cannot bypass the default unsafe-option gate.

    GitPython Repo.clone_from(..., allow_unsafe_options=False) allow_unsafe_options = False

Event History

Aug 1, 2026
CVE Published
via MITRE·12:22 PM
Data Sourced
via MITRE·12:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
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-67324?

CVE-2026-67324 has a critical severity score of 9.8.

2

How does CVE-2026-67324 affect GitPython?

CVE-2026-67324 allows for an authentication bypass in GitPython 3.1.50 via joined short-option forms.

3

How can I fix CVE-2026-67324?

To address CVE-2026-67324, upgrade to the latest version of GitPython that includes security patches.

4

What is the risk associated with CVE-2026-67324?

The risk associated with CVE-2026-67324 is categorized as high due to the potential for unauthorized access.

5

Is CVE-2026-67324 easy to exploit?

CVE-2026-67324 can be exploited with relatively low effort, given that it allows attacker-controlled input.

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