StraitOfVuln
Latest / CVE-2026-78678

CVE-2026-78678

MediumCVSS 6.5 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-78678
Published / updated
25 Aug 2026, 02:16 UTC · last modified 12 Oct 2026, 15:10 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network
Affected vendor
Affected products
Gitpython
Affected versions
Gitpython: < 3.1.59
Fixed versions
gitpython 3.1.59
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.30% probability of exploitation in the next 30 days · 25% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (gitpython 3.1.59) per the vendor advisory.
Source (CNA)
disclosure@vulncheck.com