Vulnerability
CVE-2026-78675
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.
14 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
ALPINE-CVE-2026-78675
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…
- ALPINE-EDGE-CVE-2026-78675
- CGA-87xj-6pvj-cp6w
-
DEBIAN-CVE-2026-78675
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…
-
DLA-4872-1
python-git - security update
-
DSA-6594-1
python-git - security update
-
GHSA-7833-fr7j-v32q
GitPython: Arbitrary local file content disclosure via [include] directive in untrusted .gitmodules (SubmoduleConfigParser never disables merge_includes)
-
OESA-2026-3699
python-GitPython security update
-
OESA-2026-3700
python-GitPython security update
-
OESA-2026-3721
python-GitPython security update
-
PYSEC-2026-3785
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…
-
SUSE-SU-2026:4072-1
Security update for python-GitPython
-
SUSEVEX-CVE-2026-78675
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…
-
openSUSE-SU-2026:21874-1
Security update for python-GitPython