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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-25 · Modified: 2026-10-08
- Aliases: GHSA-3wxw-xv34-2frg, PYSEC-2026-3837, DEBIAN-CVE-2026-78679, CGA-grf7-34mp-5v3j
- Record: https://cvemate.com/vulnerability/CVE-2026-78679 · JSON: https://cvemate.com/vulnerability/CVE-2026-78679/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.336%, percentile 28.896%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard mlflow (Chainguard): \< 3.16.0-r0
- wolfi mlflow (Wolfi): \< 3.16.0-r0
- debian python-git (Debian): All versions (No fix recorded) \| \< 3.1.30-1+deb12u3 \| \< 3.1.44-1+deb13u1 \| \< 3.1.61-1
- gitpython-developers gitpython: \< 3.1.59
- PyPI gitpython (PyPI): \< 3.1.59

## References

- <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>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-78679>
- <https://github.com/gitpython-developers/GitPython/pull/2208>
- <https://github.com/gitpython-developers/GitPython/commit/1b0d2d9b91575f7db44ef4ff58ac37fc9335e5f6>
- <https://github.com/gitpython-developers/GitPython>
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59>
- <https://pypi.org/project/gitpython>
- <https://github.com/advisories/GHSA-3wxw-xv34-2frg>
- <https://security-tracker.debian.org/tracker/CVE-2026-78679>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78679.json>

---

Data as of 2026-12-05T04:46:54.950Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
