CVE-2026-76218
2 advisories.
PyPI/gitpython CVE-2026-76218: high 7.5
GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks
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-9rj7-rf2p-w77r
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r
- https://nvd.nist.gov/vuln/detail/CVE-2026-76218
- https://github.com/gitpython-developers/GitPython/pull/2204
- https://github.com/gitpython-developers/GitPython/commit/d9ddb55bdc66
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58
- https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-init
CVE-2026-76218 · published · modified · JSON
PyPI/gitpython CVE-2026-76218: high 7.5
GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks
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-3840
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r
- https://nvd.nist.gov/vuln/detail/CVE-2026-76218
- https://github.com/gitpython-developers/GitPython/pull/2204
- https://github.com/gitpython-developers/GitPython/commit/d9ddb55bdc66
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58
- https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-init
- https://pypi.org/project/gitpython
- https://github.com/advisories/GHSA-9rj7-rf2p-w77r
CVE-2026-76218 · published · modified · JSON