CVE-2026-78679
GitPython before 3.1.59 contains an arbitrary file read …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-3wxw-xv34-2frg
- www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-tagreference-create
- nvd.nist.gov/vuln/detail/CVE-2026-78679
- github.com/gitpython-developers/GitPython/pull/2208
- github.com/gitpython-developers/GitPython/commit/1b0d2d9b91575f7db44ef4ff58ac37fc9335e5f6
- github.com/gitpython-developers/GitPython/releases/tag/3.1.59
- github.com/advisories/GHSA-3wxw-xv34-2frg
- nvd.nist.gov/vuln/detail/CVE-2026-78679
- cve.org/CVERecord?id=CVE-2026-78679
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.