CVE-2026-73620

High

Description

GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.

SeverityHigh
CVSS8.1
Exploit probability—
ProductGitpython
PublishedAug 13, 2026
First seenAug 13, 2026

How to fix

Update
  • gitpython_project gitpython3.1.57 or later
  • gitpython3.1.57 or later

Affected products

ProductAffected versionsFixed in
gitpython_project gitpythonv < 3.1.573.1.57
gitpythonPyPIv < 3.1.573.1.57

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-73620 · Gitpython · Dark Radar