Bug 2523214 (CVE-2026-78675) - CVE-2026-78675 GitPython: GitPython: Local file content disclosure via malicious .gitmodules
Summary: CVE-2026-78675 GitPython: GitPython: Local file content disclosure via malici...
Keywords:
Status: NEW
Alias: CVE-2026-78675
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2531304 2531305
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-25 01:53 UTC by OSIDB Bzimport
Modified: 2026-09-10 07:29 UTC (History)
40 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-25 01:53:45 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.