PyPI/gitpython CVE-2026-87817: unknown, EPSS 0.42%
GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can e
Action: Upgrade gitpython to 3.1.60 or later.
pip install gitpython==3.1.60Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 3.1.60 | - |
Fixed versions
| 3.1.60 |
Sources
- osv: PYSEC-2026-3982
- https://www.vulncheck.com/advisories/gitpython-before-3.1.60-remote-code-execution-via-git-directory-impersonation
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-239g-whfq-7xj9
CVE-2026-87817 · published · modified · JSON