CVE-2026-76217
2 advisories.
PyPI/gitpython CVE-2026-76217: medium 6.5
GitPython: Arbitrary file read via --pathspec-from-file in IndexFile.remove() and Head.checkout()
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: GHSA-hh9p-6wh2-4mfc
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc
- https://nvd.nist.gov/vuln/detail/CVE-2026-76217
- https://github.com/gitpython-developers/GitPython/pull/2204
- https://github.com/gitpython-developers/GitPython/commit/f2550b65bf60ca087190981e2c7b6865e201f40c
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-from-file
CVE-2026-76217 · published · modified · JSON
PyPI/gitpython CVE-2026-76217: medium 6.5
GitPython: Arbitrary file read via --pathspec-from-file in IndexFile.remove() and Head.checkout()
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-3841
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc
- https://nvd.nist.gov/vuln/detail/CVE-2026-76217
- https://github.com/gitpython-developers/GitPython/pull/2204
- https://github.com/gitpython-developers/GitPython/commit/f2550b65bf60ca087190981e2c7b6865e201f40c
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-from-file
- https://pypi.org/project/gitpython
- https://github.com/advisories/GHSA-hh9p-6wh2-4mfc
CVE-2026-76217 · published · modified · JSON