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.
References
| Link | Resource |
|---|---|
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287 | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame | Third Party Advisory |
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287 | Exploit Vendor Advisory |
Configurations
History
12 Oct 2026, 15:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
02 Sep 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287 - Exploit, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame - Third Party Advisory | |
| First Time |
Gitpython Project gitpython
Gitpython Project |
|
| CPE | cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* |
25 Aug 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287 - |
25 Aug 2026, 02:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-08-25 02:16
Updated : 2026-10-12 15:10
NVD link : CVE-2026-78678
Mitre link : CVE-2026-78678
CVE.ORG link : CVE-2026-78678
JSON object : View
Products Affected
gitpython_project
- gitpython
CWE
CWE-88
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
