Skip to content
VulniPulse
Medium5.5Red Hat Linux

Medium [CVE-2026-78675] Local file content disclosure via malicious.gitmodules

This medium-severity Red Hat Linux advisory covers CVE-2026-78675 affecting Exploit Intelligence, Migration Toolkit for Applications 8, Red Hat AI Inference Server.

CVE-2026-78675 Published Aug 25, 2026Updated by vendor Aug 25, 2026
Affected products & platforms
Red Hat LinuxUnclassified
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

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. A flaw was found in GitPython that could allow for local file content disclosure.

This vulnerability occurs because GitPython does not properly disable merge_includes when processing.gitmodules files. An attacker could exploit this by creating a specially crafted.gitmodules file with include directives that reference sensitive local files.

When a user interacts with the repository's submodules, the system may inadvertently reveal the first line of these sensitive files through an error message.

When a user opens an untrusted repository and accesses the repository's submodules (e.g., via repo.submodules), the GitConfigParser may raise a MissingSectionHeaderError that embeds the first line of the target file verbatim in the exception message.

This exception message can be exposed through CI logs, error pages, exception trackers, and code review bots, creating multiple disclosure channels.

Affected versions
  • < 3.1.59

Official advisory · high-confidence parse· fetched 2 hours ago·verify at source

Fixed versions

No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.

Official advisory · high-confidence parse· fetched 2 hours ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. For additional information, refer to the upstream advisory at https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q.

Official advisory · high-confidence parse· fetched 2 hours ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.