CVE-2026-76222

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*

History

No history.

Information

Published : 2026-08-19 14:17

Updated : 2026-09-02 19:37


NVD link : CVE-2026-76222

Mitre link : CVE-2026-76222

CVE.ORG link : CVE-2026-76222


JSON object : View

Products Affected

gitpython_project

  • gitpython
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')