CVE-2026-78675

published 25 Aug 2026 · updated 8 Oct 2026

GitPython before 3.1.59 Local File Content Disclosure via .gitmodules

8.4HighCVSS 8.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.1.59.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gitpython-developers<3.1.593.1.59

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-78675 severity on Zeptric[![CVE-2026-78675](https://zeptric.io/badge/cve/CVE-2026-78675.svg)](https://zeptric.io/cve/CVE-2026-78675)