VYPR
High severity8.2NVD Advisory· Published Aug 19, 2026· Updated Sep 2, 2026

CVE-2026-76222

CVE-2026-76222

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
GitPythonPyPI
< 3.1.583.1.58

Affected products

3

Patches

Vulnerability mechanics

References

9

News mentions

1