CVE-2026-73619Published Aug 13, 2026 · Aug 13Updated Oct 28
GitPython before 3.1.57 Arbitrary File Read via Repo.archive()
gitpython-developers GitPython
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| gitpython PyPI |
|
|
Original 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.
From the CVE record · VulnCheck