gitpython
Affected
- introduced
0, fixed3.1.58(ecosystem)
Fixed versions
3.1.58
Fix
- Fixed version
3.1.58pip install --upgrade gitpython==3.1.58
Advisory
Also known as: CVE-2026-76222, GHSA-hmq2-w58f-27jc
The record has no summary.
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.
Not rated by the source.
0, fixed 3.1.58 (ecosystem)3.1.58
3.1.58pip install --upgrade gitpython==3.1.58Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0