8.4Alta
CVE-2026-78675GitPython before 3.1.59 Local File Content Disclosure via .gitmodules
Descripción
GitPython before 3.1.59 fails to disable merge_includes when parsing .gitmodules, allowing attackers to disclose local file content by including arbitrary file paths via [include] directives. Attackers can craft a malicious .gitmodules file with include directives pointing to sensitive files; when repo.submodules is accessed, GitConfigParser raises MissingSectionHeaderError embedding the target file's first line verbatim in the exception message.
Debilidad (CWE):
CWE-73
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| gitpython project | gitpython | < 3.1.59 | |
| gitpython-developers | GitPython | < 3.1.59, fixed 3.1.59 |
Referencias y parches
- GitHub Security Advisory (GHSA-7833-fr7j-v32q) vendor-advisoryExploitVendor AdvisoryMitigation
- VulnCheck Advisory: GitPython before 3.1.59 Local File Content Disclosure via .gitmodules third-party-advisoryThird Party Advisory
Coincidencias CPE (NVD) (1)
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*< 3.1.59