{"id":"CVE-2026-78678","published":"2026-08-25T01:30:35Z","modified":"2026-10-08T15:25:09Z","title":"GitPython before 3.1.59 Arbitrary File Read via Repo.blame()","vendor":"gitpython-developers","product":"GitPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.27031,"provenance":"source"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame","tags":["third-party-advisory"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":5.41},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"gitpython-developers","affectedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["< 3.1.59"]}],"fixedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["3.1.59"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-25T15:17:54.526774Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"GitPython","vulnerableRanges":["<3.1.59"],"patched":["3.1.59"],"from":["GHSA-5xxx-qhh7-9287","PYSEC-2026-3788"],"provenance":"source"}],"summary":{"text":"A flaw in GitPython before version 3.1.59 lies in the incomplete denylist of the unsafe_git_revision_options guard, which fails to block the --contents and -S options when they are passed to Repo.blame(). An attacker who can supply a revision value to that method, for example one such as --contents=/etc/passwd, can read arbitrary files on the system, with the contents returned to the caller through the blame result.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:16Z"},"euvd":{"id":"EUVD-2026-65224","exploited":false,"provenance":"source"}}