Skip to main content
← All vulnerabilities
CVE-2026-73619GHSA-539M-9XH6-Q6RRPYSEC-2026-3948

GitPython before 3.1.57 Arbitrary File Read via Repo.archive()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.57
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gitpython-developers GitPython

    fixed in 3.1.57

  • gitpythonPyPI

    fixed in 3.1.57

References 2

GitHub · gitpython-developers/GitPython

vulncheck.com