What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: gitpython-developers GitPython 3.1.48. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-44243 or the next vulnerability affects your stack