CVE-2026-87817
2 advisories.
PyPI/gitpython CVE-2026-87817: high 8.8, EPSS 0.40%
GitPython: Repository content can impersonate the git directory, leading to arbitrary code execution
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: GHSA-239g-whfq-7xj9
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-239g-whfq-7xj9
- https://nvd.nist.gov/vuln/detail/CVE-2026-87817
- https://github.com/gitpython-developers/GitPython/pull/2218
- https://github.com/gitpython-developers/GitPython/commit/c7cf4d13b1ed0a2e70f2a1f3c6b4fc6c2652cf0b
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60
- https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3982.yaml
- https://www.vulncheck.com/advisories/gitpython-before-3.1.60-remote-code-execution-via-git-directory-impersonation
CVE-2026-87817 · published · modified · JSON
PyPI/gitpython CVE-2026-87817: unknown, EPSS 0.40%
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