CVE-2026-78677
2 advisories.
PyPI/gitpython CVE-2026-78677: high 7.5
GitPython: clone_from()/clone() omit --separate-git-dir from unsafe_git_clone_options, enabling arbitrary git-directory creation outside the destination
Action: Upgrade gitpython to 3.1.59 or later.
pip install gitpython==3.1.59Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 3.1.59 | - |
Fixed versions
| 3.1.59 |
Sources
- osv: GHSA-8mcc-hrx5-hvxc
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc
- https://nvd.nist.gov/vuln/detail/CVE-2026-78677
- https://github.com/gitpython-developers/GitPython/pull/2210
- https://github.com/gitpython-developers/GitPython/commit/b68afff45af0f49e79a3e2d2162018986b37ad5d
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59
- https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3787.yaml
- https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir
CVE-2026-78677 · published · modified · JSON
PyPI/gitpython CVE-2026-78677: unknown
GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a sepa
Action: Upgrade gitpython to 3.1.59 or later.
pip install gitpython==3.1.59Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 3.1.59 | - |
Fixed versions
| 3.1.59 |
Sources
- osv: PYSEC-2026-3787
- https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc
CVE-2026-78677 · published · modified · JSON