CVE-2026-78675 in GitPython looks like a modest information disclosure at first glance — one line from a file that shouldn't be readable, wrapped in a MissingSectionHeaderError. Don't let that framing fool you. The real issue isn't how much data leaks; it's where and how the leak triggers.
The vulnerability activates passively when code accesses repo.submodules. That matters enormously because submodule inspection is exactly what dependency scanners, CI pipelines, and developer tooling do automatically. You're not waiting for a user to interact with malicious content — you're running a passive exfiltration point every time untrusted repositories get inspected. That's a fundamentally different risk profile than a file-read bug that requires active exploitation.
The one-line constraint sounds limiting until you consider what's actually stored on-disk in the environments where GitPython runs: tokens in .git/config, SSH private keys, CI credentials, environment files with API keys. One line is often all a credential needs. And once that credential is exfiltrated, the blast radius extends far beyond the original file — cloud accounts, CI/CD pipelines, secrets managers become reachable.
The patch disables merge_includes for .gitmodules parsing specifically. That targeted fix tells you something important: the maintainers constrained a behavior in one file type rather than auditing the full parser inheritance chain. The same GitConfigParser infrastructure that was reused across GitPython likely carries other inherited behaviors — config interpolation, conditional includes — that nobody has audited. This CVE fits a documented lineage: similar include-directive vulnerabilities have surfaced in Ansible, Git itself, and Mercurial. Each time, parser infrastructure migrates to a new context without its trust boundaries following.
Prioritize updating any tooling that calls repo.submodules on untrusted repositories. Treat this as higher-priority than the CVSS suggests because the passive trigger makes it a persistent exfiltration channel rather than a one-off exploit. And audit your own config parsing stacks: if you've borrowed parser infrastructure across trust boundaries, the question isn't whether similar issues exist — it's which ones haven't been found yet.