CVE-2026-78675
7.8 ÉlevéeDescription
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.
Produits concernés
Scores CVSS
| Version | Score | Source | Vecteur |
|---|---|---|---|
| 4.0 | 8.6 Élevée | disclosure@vulncheck.com | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| 3.1 | 8.4 Élevée | disclosure@vulncheck.com | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 7.8 Élevée | nvd@nist.gov (NVD) | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Faiblesses (CWE)
Références
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q ExploitVendor AdvisoryMitigation
- https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules Third Party Advisory
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q ExploitVendor AdvisoryMitigation