Live threats

All CVEs / Gitpython Project

CVE-2026-67325Gitpython Project Gitpython

High 8.7

Priority
52
CVSS 4.0
8.7
EPSS
—
Auth required
Yes
Published
Aug 1, 2026
Updated
Oct 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitpython.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gitpython < 3.1.51 3.1.51 pip install "gitpython>=3.1.51"
PyPI gitpython < 3.1.51 3.1.51 pip install "gitpython>=3.1.51"

Per OSV / GitHub Advisories (GHSA-2f96-g7mh-g2hx, PYSEC-2026-3836). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gitpython_projectgitpython< 3.1.51

Official advisories

Also: Red Hat (+4)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.