CVE Catalog

CVE-2026-78679

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

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.

Risk Assessment

The risk includes exposure of sensitive data such as configuration files, keys, or passwords, potentially leading to further attacks.

Recommendation

Update GitPython to version 3.1.59 or later and avoid using unsafe options in code.

Other vulnerabilities in GitPython

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS