GitPython 3.1.50 Authentication Bypass via Joined Short Options
At a glance
Severity
CRITICAL 9.3
EPSS
EPSS 0.64 % · percentile 51 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
VulnCheck
NVD status
Analyzed
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.
GHSA-v396-v7q4-x2qj — GitPython unsafe clone option gate bypass through joined short options
PYSEC-2026-3947 — 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-opti