PT-2026-85180

Published

2026-08-25

·

Updated

2026-08-25

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Exploitability
Fix
Vendors
Affected products
Related identifiers
PYSEC-2026-3785
Found an issue in the description? Have something to add? Feel free to write us 👾