CVE-2026-78679
Publication date 25 August 2026
Last updated 26 August 2026
Ubuntu priority
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.
References
Other references
- https://www.cve.org/CVERecord?id=CVE-2026-78679
- https://github.com/cveproject/cvelistv5/tree/main/cves/2026/78xxx/cve-2026-78679.json
- https://github.com/gitpython-developers/gitpython/security/advisories/ghsa-3wxw-xv34-2frg
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-tagreference-create