6.5Medium

CVE-2026-78679GitPython before 3.1.59 Arbitrary File Read via TagReference.create

gitpython-developers GitPython Published: (2 months ago)

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.

Weakness (CWE): CWE-73

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
gitpython project gitpython < 3.1.59
gitpython-developers GitPython < 3.1.59, fixed 3.1.59

References and patches