Skip to main content
← All vulnerabilities
CVE-2026-44243GHSA-7545-FCXQ-7J24PYSEC-2026-2162

GitPython: Path traversal in GitPython reference APIs allows arbitrary file write and delete outside the repository

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

Summary

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.48, a vulnerability in GitPython allows attackers who can supply a crafted reference path to an application using GitPython to write, overwrite, move, or delete files outside the repository’s .git directory via insufficient validation of reference paths in reference creation, rename, and delete operations. This issue has been patched in version 3.1.48.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • gitpython-developers GitPython

    fixed in 3.1.48

  • gitpythonPyPI

    fixed in 3.1.48

References 2

GitHub · gitpython-developers/GitPython