{"id":"GHSA-cw2r-r7mw-j3hc","summary":" Duplicate Advisory: GitPython unsafe clone option gate bypass through joined short options","details":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-v396-v7q4-x2qj. This link is maintained to preserve external references.\n\n## Original Description\n\nGitPython 3.1.50 fails to recognize joined short-option forms such as -u\u003cvalue\u003e (the short form of --upload-pack=\u003cvalue\u003e) 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\u003chelper\u003e to bypass the gate that blocks --upload-pack/-u, causing Git to execute the specified helper command during clone. Fixed in 3.1.51.","modified":"2026-09-08T15:15:05.989957559Z","published":"2026-08-01T15:30:28Z","withdrawn":"2026-09-08T15:08:25Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-09-08T15:08:25Z","nvd_published_at":"2026-08-01T13:17:02Z","cwe_ids":["CWE-78"]},"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v396-v7q4-x2qj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67324"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-authentication-bypass-via-joined-short-options"}],"affected":[{"package":{"name":"gitpython","ecosystem":"PyPI","purl":"pkg:pypi/gitpython"},"versions":["3.1.50"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-cw2r-r7mw-j3hc/GHSA-cw2r-r7mw-j3hc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}