CVE-2026-78678

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*

History

12 Oct 2026, 15:10

Type Values Removed Values Added
Summary
  • (es) Versiones de GitPython anteriores a la 3.1.59 contienen una lista de denegación incompleta en el protector unsafe_git_revision_options que omite las opciones --contents y -S, permitiendo a los atacantes leer archivos arbitrarios al pasar estas opciones a Repo.blame(). Los atacantes pueden proporcionar valores de revisión como --contents=/etc/p4ssd para filtrar el contenido de archivos a través del resultado de blame devuelto a quien llama.

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')