CVE-2026-73619

Summary

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 Software

VendorProductVersion RangeStatus
gitpython-developersGitPython0 < 3.1.57affected
gitpython-developersGitPython3.1.57unaffected

Weaknesses

  • CWE-73: External Control of File Name or Path

References