CVE Catalog

CVE-2026-78675

HighCVSS 8.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

2th percentile - higher than 2% of all known CVEs

Summary

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.

Risk Assessment

The risk includes disclosure of sensitive information from the local filesystem, such as configuration files or credentials, which could lead to security compromise.

Recommendation

It is recommended to upgrade GitPython to version 3.1.59 or later and be cautious when processing untrusted git repositories.

Other vulnerabilities in GitPython

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS