CVE-2026-67324
Received Received - Intake

GitPython Unsafe Option Bypass via Short-Form Clone

Vulnerability report for CVE-2026-67324, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-01

Last updated on: 2026-08-01

Assigner: VulnCheck

Description

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.clone_from(..., multi_options=..., allow_unsafe_options=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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-01
Last Modified
2026-08-01
Generated
2026-08-01
AI Q&A
2026-08-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gitpython gitpython 3.1.51

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

GitPython 3.1.50 has a flaw where it fails to block short-option forms like -u<value> for unsafe Git operations. Attackers can bypass safety checks by using -u<helper> to execute arbitrary commands during a Git clone operation when unsafe options are disabled.

Impact Analysis

An attacker could exploit this to run malicious commands on your system when you clone a repository using GitPython. This could lead to code execution, data theft, or system compromise if the cloned repository is untrusted.

Compliance Impact

This vulnerability could violate compliance requirements that mandate secure handling of data and systems, such as GDPR's integrity principle or HIPAA's security rule, by allowing unauthorized command execution on systems processing sensitive data.

Mitigation Strategies

Update GitPython to version 3.1.51 or later to address the unsafe-option bypass issue. Review applications using GitPython to ensure clone operations do not pass attacker-influenced options.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-67324. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart