Skip to main content
CVE-2026-73624VulnerabilityPublished Updated

Python git: GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff

Affects python-gitSource GCVE Database

0
Compare
Authoritative record:CVE-2026-73624· High 7.2

Not known to be exploited · CVSS 7.2 High.

Data as of 24 Nov 2026, 21:10 UTC

CVSS 4.0 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-gitpkg:deb/ubuntu/python-git?arch=source&distro=stonkingOther threatsAffected
  • =3.1.46-1
  • =3.1.50-1
  • =3.1.61-1
Fixed in–
Ubuntu Pro 26.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 3.1.44-1 – 3.1.46-1ubuntu0.1~esm1
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 3.1.30-1 – 3.1.37-3ubuntu0.1~esm2
4 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 3.1.14-1 – 3.1.24-1ubuntu0.1~esm3
6 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/focalOther threatsAffected
  • 2.1.11-1 – 3.0.7-1ubuntu0.1~esm4
7 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSpython-gitpkg:deb/ubuntu/python-git?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 2.1.5-1 – 2.1.8-1ubuntu0.1~esm4
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…