GitPython 3.1.50 Authentication Bypass via Joined Short Options
GitPython 3.1.50 fails to recognize joined short-option forms such as -u (the short form of --upload-pack=) 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 to bypass the gate that blocks --upload-pack/-u, causing Git to execute the specified helper command during clone. Fixed in 3.1.51.
CVE-2026-67324
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-67324
GitPython
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "gitpython-developers",
"product": "GitPython",
"versions": [
{
"status": "affected",
"version": "3.1.50",
"lessThan": "3.1.51",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "3.1.51",
"versionType": "semver"
}
],
"packageURL": "pkg:pypi/gitpython",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-67324
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #12804 · Revision 1
- Added to Heist Feed
- Publisher date