Skip to main content
← All vulnerabilities
CVE-2026-78679PYSEC-2026-3837GHSA-3WXW-XV34-2FRG

GitPython before 3.1.59 Arbitrary File Read via TagReference.create

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

Summary

GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file=<path> to read arbitrary files, with contents returned in the annotated tag message.

Timeline

  1. CVE published2 days
  2. CISA SSVC assessment

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

    42 days
  3. Record last updated

Affected versions

  • gitpython-developers GitPython

    fixed in 3.1.59

  • gitpythonPyPI

    fixed in 3.1.59

References 2

GitHub · gitpython-developers/GitPython

vulncheck.com