CVE-2026-78675
GitPython before 3.1.59 Local File Content Disclosure via .gitmodules
HIGH 8.6EPSS 0.2%
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
- gitpython-developers · GitPython
- CVSS v4.0 VULNCHECK
- 8.6 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS v4.0 GitHub
- 8.6 HIGH
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 - CVSS v3.1 NVD
- 7.8 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 VULNCHECK
- 8.4 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.18% chance of exploitation in the next 30 days, 7th percentile
- Published
- 2026-08-25
- Updated
- 2026-10-08
Proof-of-concept exploits (1)
Security advisories
- gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q
- https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-g…