6.5Media
CVE-2026-110855GitPython before 3.2.0 Environment Variable Disclosure via .gitmodules Submodule Name
Descripción
GitPython before 3.2.0 contains an information disclosure vulnerability that allows malicious repositories to expand environment variables via separate_git_dir in Repo._clone(), which omits expand_vars=False when calling Git.polish_url(). Attackers can craft a .gitmodules submodule name containing variable syntax so that clone plus submodule_update exposes secrets in .git/modules directory names and DEBUG logs.
Debilidad (CWE):
CWE-200
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| gitpython project | gitpython | < 3.2.0 | |
| gitpython-developers | GitPython | < 3.2.0, fixed 3.2.0 |
Referencias y parches
- GitHub Security Advisory (GHSA-fx3j-rwgx-fr94) vendor-advisory
- VulnCheck Advisory: GitPython before 3.2.0 Environment Variable Disclosure via .gitmodules Submodule Name third-party-advisory