PT-2026-38294 · Pypi+2 · Gitpython+2

Kkkh1

·

Published

2026-05-06

·

Updated

2026-05-26

·

CVE-2026-44243

CVSS v4.0

8.8

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions GitPython versions prior to 3.1.48
Description Insufficient validation of reference paths in reference creation, rename, and delete operations allows attackers to write, overwrite, move, or delete files outside the repository's .git directory. This path traversal issue occurs because reference paths are not consistently validated before filesystem operations, despite some validation existing for read operations. Specifically, the functions SymbolicReference.create(), Reference.create(), SymbolicReference.set reference(), SymbolicReference.rename(), and SymbolicReference.delete() construct filesystem paths from attacker-controlled reference names without enforcing repository boundaries.
Recommendations Update to version 3.1.48 or later. As a temporary workaround, restrict or disable the use of SymbolicReference.create(), Reference.create(), SymbolicReference.set reference(), SymbolicReference.rename(), and SymbolicReference.delete() when processing user-controlled input.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2026-44243
GHSA-7545-FCXQ-7J24
OESA-2026-2306
OESA-2026-2307
OESA-2026-2308
OPENSUSE-SU-2026:10758-1
USN-8303-1

Affected Products

Gitpython
Linuxmint
Ubuntu