Skip to content
CVE PROGRAM SOURCE RECORD7.2 High

CVE-2026-73624

GitPython before 3.1.54 Arbitrary File Overwrite via diff

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.

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.54affected
  • 3.1.54unaffected
pkg:pypi/gitpython

References