← CVE Intelligence

CVE-2026-76222

GitPython before 3.1.58 Path Traversal via .gitmodules Submodule Name PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
gitpython-developers / GitPythonaffected 0 before 3.1.58; unaffected 3.1.58

CWE

CWE-22

References

ADP enrichment

CISA-ADP

No English description supplied.