---
id: GHSA-cw2r-r7mw-j3hc
title: ' Duplicate Advisory: GitPython unsafe clone option gate bypass through joined short options'
summary: ' Duplicate Advisory: GitPython unsafe clone option gate bypass through joined short options'
severity: critical
cvss: 9.8
cwe:
  - CWE-78
vendor: gitpython
product: gitpython
ecosystem: pip
affected:
  - gitpython = 3.1.50
published: '2026-08-01'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T15:08:26Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-cw2r-r7mw-j3hc'
references:
  - url: >-
      https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v396-v7q4-x2qj
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-67324'
  - url: >-
      https://www.vulncheck.com/advisories/gitpython-authentication-bypass-via-joined-short-options
  - url: 'https://github.com/advisories/GHSA-cw2r-r7mw-j3hc'
tags:
  - ghsa
  - pip
ingestedAt: '2026-09-08T15:33:26.986Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-v396-v7q4-x2qj. This link is maintained to preserve external references.

## Original 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.

## Affected packages

- `gitpython = 3.1.50`

## Remediation

Refer to the advisory for the patched release.
