{"id":"CVE-2026-78675","published":"2026-08-25T01:30:32Z","modified":"2026-10-08T15:25:07Z","title":"GitPython before 3.1.59 Local File Content Disclosure via .gitmodules","vendor":"gitpython-developers","product":"GitPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00178,"percentile":0.04352,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules","tags":["third-party-advisory"]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":0.87},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"gitpython-developers","affectedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["< 3.1.59"]}],"fixedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["3.1.59"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-25T12:52:14.332502Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"GitPython","vulnerableRanges":["<3.1.59"],"patched":["3.1.59"],"from":["GHSA-7833-fr7j-v32q","PYSEC-2026-3785"],"provenance":"source"}],"summary":{"text":"GitPython versions before 3.1.59 fail to disable merge_includes when parsing .gitmodules, so [include] directives in a crafted .gitmodules file are followed to arbitrary local file paths, a case of external control of file name or path. An attacker who can supply a malicious .gitmodules file that a victim's application processes, with no authentication or user interaction required and local access as the attack vector, can read the first line of a targeted sensitive file, which is embedded verbatim in a MissingSectionHeaderError raised when repo.submodules is accessed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:55Z"},"euvd":{"id":"EUVD-2026-65221","exploited":false,"provenance":"source"}}