Path Traversal in Gitpython-Developers Gitpython
CVE-2026-76222
- CVSS v3
- 8.2 High
- Public exploits
- None known
- EPSS
- 0.004 · 37.3th percentile
- Published
- 2026-08-19
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.004, 37.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-hmq2-w58f-27jc) (vendor-advisory, Exploit, Vendor Advisory)
- VulnCheck Advisory: GitPython before 3.1.58 Path Traversal via .gitmodules Submodule Name (Third Party Advisory, third-party-advisory)