GHSA-cw2r-r7mw-j3hc

    Dashboard / Vulnerabilities / GHSA-cw2r-r7mw-j3hc

    GHSA-cw2r-r7mw-j3hc

    Published: 1 Aug 2026Last Modified: 8 Sept 2026

    Summary: Duplicate Advisory: GitPython unsafe clone option gate bypass through joined short options

    Details: ## 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

    Package

    Name: gitpython

    Purl: pkg:pypi/gitpython

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    3.1.50

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-cw2r-r7mw-j3hc | CVE-DB