CVE-2026-78678
2 advisories.
PyPI/gitpython CVE-2026-78678: medium 6.5, EPSS 0.41%
GitPython: Incomplete unsafe_git_revision_options denylist omits --contents/-S, enabling arbitrary file read via Repo.blame()
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-5xxx-qhh7-9287
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287
- https://nvd.nist.gov/vuln/detail/CVE-2026-78678
- https://github.com/gitpython-developers/GitPython
- https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3788.yaml
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame
CVE-2026-78678 · published · modified · JSON
PyPI/gitpython CVE-2026-78678: unknown, EPSS 0.41%
GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing the
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-3788
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287
CVE-2026-78678 · published · modified · JSON