{"cve":"CVE-2026-78675","nvd":{"published":"2026-08-25T02:16:51.887","modified":"2026-10-12T15:10:00.207","status":"Analyzed","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_v4":{"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},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-73"],"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","https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q"],"products":["gitpython_project:gitpython"],"source":"nvd","synced_at":"2026-10-19T22:50:17.453294893+00:00"},"epss":{"cve":"CVE-2026-78675","score":0.00178,"percentile":0.07287,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-7833-fr7j-v32q","url":"https://osv.dev/vulnerability/GHSA-7833-fr7j-v32q","summary":"GitPython: Arbitrary local file content disclosure via [include] directive in untrusted .gitmodules (SubmoduleConfigParser never disables merge_includes)","modified":"2026-09-23T05:15:05.931147061Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.59"],"fixed":["3.1.59"]}]},{"id":"PYSEC-2026-3785","url":"https://osv.dev/vulnerability/PYSEC-2026-3785","summary":"","modified":"2026-09-03T11:00:03.889244490Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.59"],"fixed":["3.1.59"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}