Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-78679

GitPython before 3.1.59 Arbitrary File Read via TagReference.create

Description

GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file=<path> to read arbitrary files, with contents returned in the annotated tag message.

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

References