Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-73621: GitPython before 3.1.56 contains an argument injection vulnerability in the Commit.count() method, which forwa

31
Routine
MEDIUM 5.4UPGRADE

CVE-2026-73621 is a medium-severity flaw (CVSS 5.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.56 contains an argument injection vulnerability in the Commit.count() method, which forwards keyword arguments to 'git rev-list' without the check_unsafe_options guard present in the sibling iter_items method. An attacker who can control options passed to Commit.count (e.g., via an application that forwards a user-supplied options dict) can supply output=<path>, causing 'git rev-list --output=<path>' to open and truncate the

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score5.4 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.4% (top 71%)
CISA exploited listNo
WeaknessCWE-88
Published2026-08-13
Last modified2026-10-23
Publisher (CNA): VulnCheck · Vendor: gitpython project

Am I affected?

Timeline

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

Exact fixes by distribution

Fedora 46 · gum · FIXED · 2.0.2-1.fc46 · FEDORA-2026-da0d6dd894 · source
sudo dnf upgrade --advisory=FEDORA-2026-da0d6dd894
Debian 12 · python-git · NO FIX YET
Debian 13 · python-git · NO FIX YET
RHEL AI (RHEL AI) 3 · rhelai3/bootc-cuda-rhel9 · DEFERRED
RHEL AI (RHEL AI) 3 · rhelai3/bootc-gaudi-rhel9 · DEFERRED
RHEL AI (RHEL AI) 3 · rhelai3/bootc-rocm-rhel9 · DEFERRED
RHEL AI (RHEL AI) 3 · rhelai3/disk-image-cuda-rhel9 · DEFERRED
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.

Related CVEs

References

← Back to latest CVEs