← Back to CVE search

CVE-2026-76222

GitPython

Description

GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule names that GitPython processes during submodule initialization, creating attacker-controlled Git repositories at escaped filesystem locations.

CVSS 8.2EPSS 0.28700000000000003%Risk 0.84
View source
Published
2026-08-19 14:17:48
Affected versions
<3.1.58
Type
Library
Last modified
2026-08-25 03:16:57
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L