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. Attacke
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 packages
No package-level mapping for this advisory.
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- —
- EPSS percentile
- —
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.
Sources
- https://www.cve.org/CVERecord?id=CVE-2026-78675
- https://github.com/cveproject/cvelistv5/tree/main/cves/2026/78xxx/cve-2026-78675.json
- https://github.com/gitpython-developers/gitpython/security/advisories/ghsa-7833-fr7j-v32q
- https://nvd.nist.gov/vuln/detail/cve-2026-78675
- https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules
Structured record: https://ubuntu.com/security/CVE-2026-78675
Recommended response stack
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta