Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-67325: GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's lon

56
This month
HIGH 8.8UPGRADE

CVE-2026-67325 is a high-severity flaw (CVSS 8.8) affecting gitpython. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.

Why this priority

  • High severity
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance2.2% (top 18%)
CISA exploited listNo
WeaknessCWE-78
Published2026-08-01
Last modified2026-10-23
Publisher (CNA): VulnCheck · Vendor: gitpython project

Am I affected?

Timeline

gitpython project gitpython UPGRADE
Affected: < 3.1.51
Fixed in: 3.1.51
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show gitpython
2. UPGRADE to 3.1.51
pip install --upgrade "gitpython>=3.1.51"

Exact fixes by distribution

Python (pip) · GitPython · FIXED · 3.1.51 · vulnerable: <= 3.1.50 · source
pip install --upgrade "GitPython>=3.1.51" pip show GitPython
Fedora 46 · python-openslide · FIXED · 1.4.7-1.fc46 · FEDORA-2026-336bea884e · source
sudo dnf upgrade --advisory=FEDORA-2026-336bea884e
Fedora ELN · valgrind · FIXED · 3.28.0-1.eln159 · FEDORA-2026-c593ef1d15 · source
sudo dnf upgrade --advisory=FEDORA-2026-c593ef1d15
Debian 12 · python-git · NO FIX YET
Debian 13 · python-git · NO FIX YET
RHEL AI (RHEL AI) 3 · rhelai3/bootc-cuda-rhel9 · NO FIX YET
RHEL AI (RHEL AI) 3 · rhelai3/bootc-gaudi-rhel9 · DEFERRED
RHEL AI (RHEL AI) 3 · rhelai3/bootc-rocm-rhel9 · NO FIX YET
RHEL AI (RHEL AI) 3 · rhelai3/disk-image-cuda-rhel9 · NO FIX YET

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-67325?

gitpython: upgrade to 3.1.51. Exact commands for each OS are on this page.

Is CVE-2026-67325 being exploited?

CVE-2026-67325 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-67325 affect?

CVE-2026-67325 affects gitpython. Severity is high (CVSS 8.8). GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_

How urgent is CVE-2026-67325?

Priority 56/100. High severity; Public exploit reference

Software pages

Git vulnerabilities

Related CVEs

References

← Back to latest CVEs