PyPI/gitpython CVE-2026-76222: high 8.2, EPSS 0.42%
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. Atta
Action: Upgrade gitpython to 3.1.58 or later.
pip install gitpython==3.1.58Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 3.1.58 | - |
Fixed versions
| 3.1.58 |
Sources
- osv: PYSEC-2026-3784
- nvd: CVE-2026-76222
- https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-gitmodules-submodule-name
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hmq2-w58f-27jc
CVE-2026-76222 · published · modified · JSON