Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-67323: GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archi

52
This month
HIGH 8.4UPGRADE

CVE-2026-67323 is a high-severity flaw (CVSS 8.4) 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 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation r

Why this priority

  • High severity
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.4 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.3% (top 31%)
CISA exploited listNo
WeaknessCWE-77
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-67323?

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

Is CVE-2026-67323 being exploited?

CVE-2026-67323 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-67323 affect?

CVE-2026-67323 affects gitpython. Severity is high (CVSS 8.4). GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execut

How urgent is CVE-2026-67323?

Priority 52/100. High severity; Public exploit reference

Related CVEs

References

← Back to latest CVEs