CVE-2026-76222: Gitpython Project Gitpython

High severity, CVSS 8.2. EPSS: 0.4% chance of exploitation in the next 30 days.

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 products

Published 2026-08-19. Last modified 2026-09-02.