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.
CVSS 8.4EPSS 0.122%Riesgo 0.85
Ver fuente- Publicación
- 2026-08-25 02:16:51
- Versiones afectadas
- <3.1.59
- Tipo
- Librería
- Última modificación
- 2026-08-25 13:19:31
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H