CVE-2026-76222
GitPython before 3.1.58 Path Traversal via .gitmodules Submodule Name
CVSS Score
8.2
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | gitpython-developers |
| Product | gitpython |
| Published | Aug 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitpython-developers gitpython
Be the first to know when new high vulnerabilities affecting gitpython-developers gitpython are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
High
Availability
Low
Affected Versions
gitpython-developers / GitPython
0 < 3.1.58
References
Credits
๐ tinyb0y