Vulnerability

CVE-2026-78675

highCVSS 4.0 8.6Published 25 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gitpython Project gitpython

Weakness type

References

  • github.com /gitpython-developers/GitPython/security/advisories/GHSA-78…
  • www.vulncheck.com /advisories/gitpython-before-local-file-content-disclosure-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning