Skip to main content
← All vulnerabilities
CVE-2026-73620PYSEC-2026-3949GHSA-3F7W-8RR8-F37F

GitPython before 3.1.57 Arbitrary File Overwrite and Read

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: total

Summary

GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  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