Live threats

All CVEs / Gitpython Project

CVE-2026-73624Gitpython Project Gitpython

High 7.2

Priority
43
CVSS 4.0
7.2
EPSS
—
Auth required
Yes
Published
Aug 13, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
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:N/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 versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.

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.54 3.1.54 pip install "gitpython>=3.1.54"
PyPI gitpython < 3.1.54 3.1.54 pip install "gitpython>=3.1.54"

Per OSV / GitHub Advisories (GHSA-fjr4-x663-mwxc, PYSEC-2026-3995). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gitpython_projectgitpython< 3.1.54

Official advisories

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

Official sources

References

Links published by the sources. Open them with care.