Skip to main content

CVE-2026-67324 — Vulnerability in gitpython — CVE Details

CRITICAL

Published August 1, 2026Updated September 11, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.64%). Schedule for your next planned update.

Does your project use an affected gitpython version?

Paste your requirements.txt to check it for CVE-2026-67324 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

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.

Advisory Timeline

  • First published August 1, 2026 (117 days ago).
  • Last revised September 11, 2026 — 41 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update gitpython to 3.1.51 or later
pip install "gitpython>=3.1.51"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: PyPI (1).

PackageFixed In
gitpython PyPI · Affected: 3.1.503.1.51

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-67324?
This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-67324?
CVE-2026-67324 affects gitpython. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-67324 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.64%
EPSS percentile: 45.5

This is a below-median EPSS score — only 45.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

PYSEC-2026-3947
GHSA-v396-v7q4-x2qj

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt