Skip to content
CVE PROGRAM SOURCE RECORD7.2 High

CVE-2026-73620

GitPython before 3.1.57 Arbitrary File Overwrite and Read

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gitpython-developers GitPython

Default version status: unaffected

  • 0 to < 3.1.57affected
  • 3.1.57unaffected
pkg:pypi/gitpython

References