Vulnerability Description
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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitpython Project | Gitpython | < 3.1.59 |
Related Weaknesses (CWE)
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-ExploitVendor AdvisoryMitigation
- https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosThird Party Advisory
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-ExploitVendor AdvisoryMitigation
FAQ
What is CVE-2026-78675?
CVE-2026-78675 is a vulnerability with a CVSS score of 8.4 (HIGH). 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. Attacker...
How severe is CVE-2026-78675?
CVE-2026-78675 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-78675?
Check the references section above for vendor advisories and patch information. Affected products include: Gitpython Project Gitpython.