What’s Vulnerable › Vulnerabilities
CVE-2026-73619: GitPython before 3.1.57 Arbitrary File Read via Repo.archive()
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-08-13 · updated 2026-10-24
- Weakness: CWE-73
Description
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.
Affected products
- gitpython-developers GitPython: before 3.1.57 — fixed in 3.1.57
How to fix
Upgrade to a fixed version: gitpython-developers GitPython 3.1.57. Check the vendor advisory for mitigations.
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/security/advisories/GHSA-539m-9xh6-q6rr
Get alerted when CVE-2026-73619 or the next vulnerability affects your stack