Insufficient Path Validation in GitPython Affects File Security
CVE-2026-44243
7.8HIGH
What is CVE-2026-44243?
A vulnerability in GitPython, a Python library for interacting with Git repositories, allows attackers to manipulate file operations. By supplying a specially crafted reference path, attackers can perform unauthorized actions such as writing, overwriting, moving, or deleting files outside of the designated .git directory. This issue arises from insufficient validation of reference paths during creation, renaming, and deletion processes. A fix was implemented in version 3.1.48 to address this critical security flaw.
Affected Version(s)
GitPython < 3.1.48
