{"id":"CVE-2026-78675","revision":"d2c3f51faf6b4f5ab6babe471fa35d8e","records":[{"revision":"d2c3f51faf6b4f5ab6babe471fa35d8e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-78675","aliases":[],"title":"GitPython before 3.1.59 Local File Content Disclosure via .gitmodules","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.","state":0,"publishedAt":"2026-08-25T01:30:32.739+00:00","modifiedAt":"2026-10-08T15:25:07.28+00:00","affected":[{"ecosystem":"Vendor product","name":"GitPython","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gitpython-developers\",\n                    \"product\": \"GitPython\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:pypi/gitpython\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.1.59\"\n                        },\n                        {\n                            \"version\": \"3.1.59\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"severity":"HIGH"}],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q","https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-78675","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-78675","identifiers":["CVE-2026-78675"]},"retained":false,"historicalAffected":[]}],"coverage":[]}