CVE-2026-110855
mediumGitPython before 3.2.0 contains an information disclosure vulnerability that allows malicious repositories to expand environment variables via separate_git_dir…
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/gitpython-before-3.2.0-environment-variable-disclosur... disclosure@vulncheck.com
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94 134c704f-9b21-4f2e-91b3-4a467353bcc0
