Skip to content
Heist/ feed
Back to feed
Critical

GitPython 3.1.50 Authentication Bypass via Joined Short Options

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-67324
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:04 UTC · Revision 1

Source evidence

GitPython 3.1.50 Authentication Bypass via Joined Short Options

core-osv · Original source

Published 1 Aug 2026, 12:22 UTC

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.

osv:CVE-2026-67324
Complete source record
{
  "id": "9fef3a65d81cd39f9957deccf204b3ffba167ca66914723c07c37edba1dc81f4",
  "url": "https://osv.dev/vulnerability/CVE-2026-67324",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GitPython 3.1.50 Authentication Bypass via Joined Short Options",
    "summary": "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.",
    "evidence": "osv:CVE-2026-67324",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-67324",
      "aliases": [
        "CVE-2026-67324",
        "GHSA-v396-v7q4-x2qj",
        "PYSEC-2026-3947"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gitpython-developers/gitpython",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5a294a6fc7ed5dc0946d4b576257bf926178f269"
                },
                {
                  "fixed": "7b0764d309334b0f27f503d7fa1a395cbd165de0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.1.50"
                      },
                      {
                        "fixed": "3.1.51"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1.50"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.1.50"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-67324.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.129304579Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67324.json",
        "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v396-v7q4-x2qj",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-67324",
        "https://www.vulncheck.com/advisories/gitpython-authentication-bypass-via-joined-short-options"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67324.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-67324",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517605,
  "published_at": "2026-08-01T12:22:18.154+00:00"
}