Skip to main content
← All vulnerabilities
CVE-2026-73624PYSEC-2026-3995GHSA-FJR4-X663-MWXC

GitPython before 3.1.54 Arbitrary File Overwrite via diff

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

Summary

GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.

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.54

  • gitpythonPyPI

    fixed in 3.1.54

References 2

GitHub · gitpython-developers/GitPython

vulncheck.com