Vulnerability in Gitpython-Developers Gitpython

CVE-2026-78679

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.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-78679?
CVE-2026-78679 is a medium-severity vulnerability in Gitpython-Developers Gitpython, classified under External Control of File Name or Path. CVSS score: 6.5/10. Published 2026-08-25.
How severe is CVE-2026-78679?
Medium severity. CVSS v3 base score is 6.5 out of 10.