PyPI/gitpython CVE-2026-76219: high 8.1, EPSS 0.54%
GitPython: Unguarded git read-tree option forwarding in IndexFile.from_tree/reset/merge_tree enables arbitrary file overwrite
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-4gmw-gg2m-w46p
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-4gmw-gg2m-w46p
- https://nvd.nist.gov/vuln/detail/CVE-2026-76219
- https://github.com/gitpython-developers/GitPython/pull/2204
- https://github.com/gitpython-developers/GitPython/commit/9b5dcaf85da5946dbf69dcd53f9edba08f760b32
- 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-overwrite-via-read-tree
CVE-2026-76219 · published · modified · JSON