{"cve":"CVE-2026-78678","nvd":{"published":"2026-08-25T02:16:52.313","modified":"2026-10-12T15:10:00.207","status":"Analyzed","description":"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 these options to Repo.blame(). Attackers can supply revision values like --contents=/etc/passwd to leak file contents through the blame result returned to the caller.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-88"],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287","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"],"products":["gitpython_project:gitpython"],"source":"nvd","synced_at":"2026-10-19T22:50:17.453294893+00:00"},"epss":{"cve":"CVE-2026-78678","score":0.00412,"percentile":0.35156,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-5xxx-qhh7-9287","url":"https://osv.dev/vulnerability/GHSA-5xxx-qhh7-9287","summary":"GitPython: Incomplete unsafe_git_revision_options denylist omits --contents/-S, enabling arbitrary file read via Repo.blame()","modified":"2026-09-08T19:00:06.904435463Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.59"],"fixed":["3.1.59"]}]},{"id":"PYSEC-2026-3788","url":"https://osv.dev/vulnerability/PYSEC-2026-3788","summary":"","modified":"2026-09-03T11:00:03.883495034Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.59"],"fixed":["3.1.59"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}