# CVE-2026-73619: GitPython before 3.1.57 Arbitrary File Read via Repo.archive()

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.1.57 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-13 · Modified: 2026-10-08
- Aliases: GHSA-539m-9xh6-q6rr, PYSEC-2026-3948, UBUNTU-CVE-2026-73619, DEBIAN-CVE-2026-73619
- Record: https://cvemate.com/vulnerability/CVE-2026-73619 · JSON: https://cvemate.com/vulnerability/CVE-2026-73619/json

## Description

```text
GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned archive.
```

## 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.291%, percentile 23.327%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian python-git (Debian): All versions (No fix recorded) \| \< 3.1.30-1+deb12u3 \| \< 3.1.44-1+deb13u1 \| \< 3.1.61-1
- ubuntu python-git (Ubuntu): All versions (No fix recorded)
- gitpython\_project gitpython: \< 3.1.57
- gitpython-developers gitpython: \< 3.1.57
- PyPI gitpython (PyPI): \< 3.1.57

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr>
- <https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-archive>
- <https://github.com/gitpython-developers/GitPython/pull/2193>
- <https://github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca>
- <https://github.com/gitpython-developers/GitPython>
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57>
- <https://ubuntu.com/security/CVE-2026-73619>
- <https://www.cve.org/CVERecord?id=CVE-2026-73619>
- <https://security-tracker.debian.org/tracker/CVE-2026-73619>

---

Data as of 2026-12-05T04:46:52.325Z. 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
