CVE-2026-73620

Summary

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.

Affected Software

VendorProductVersion RangeStatus
gitpython-developersGitPython0 < 3.1.57affected
gitpython-developersGitPython3.1.57unaffected

Weaknesses

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: total

References