CVE-2026-67324

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductGitpython
PublishedAug 1, 2026
First seenAug 1, 2026

How to fix

Update
  • gitpython_project gitpython3.1.50 or later
  • gitpython3.1.51 or later

Affected products

ProductAffected versionsFixed in
gitpython_project gitpythonv < 3.1.503.1.50
gitpythonPyPI3.1.50 ≤ v < 3.1.513.1.51

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.