CVE-2026-78675 HIGH

CVE-2026-78675: GitPython before 3.1.59 Local File Content Disclosure via .gitmodules

Vendor Gitpython-Developers
Product GitPython
Weakness CWE-73
Published August 25, 2026
Last update August 25, 2026

CVSS base score

8.6/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 25, 2026 CVE published

Related vulnerabilities

04Related CVE