CVE-2026-76222

published 19 Aug 2026 · updated 8 Oct 2026

GitPython before 3.1.58 Path Traversal via .gitmodules Submodule Name

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.1.58.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gitpython-developers<3.1.583.1.58

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-76222 severity on Zeptric[![CVE-2026-76222](https://zeptric.io/badge/cve/CVE-2026-76222.svg)](https://zeptric.io/cve/CVE-2026-76222)