External Control of File Name or Path in GitPython - CVE-2026-78675

 

External Control of File Name or Path in GitPython - CVE-2026-78675

Published: August 26, 2026


Vulnerability identifier: #VU145792
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-78675
CWE-ID: CWE-73
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information from arbitrary local files.

The vulnerability exists due to external control of file name or path in SubmoduleConfigParser and GitConfigParser when parsing an untrusted .gitmodules file containing an [include] directive. A remote attacker can supply a crafted repository whose .gitmodules references a readable local file to disclose sensitive information from arbitrary local files.

The disclosure occurs through an uncaught parsing exception that embeds the first line of the referenced file in the error message during submodule enumeration.


Affected software

GitPython

How to mitigate CVE-2026-78675

Install security update from vendor's website.

GitPython - update to 3.1.59

External References

Related Security Bulletins