Vulnerability Description
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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-
- https://www.vulncheck.com/advisories/gitpython-before-3.2.0-environment-variable
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-
FAQ
What is CVE-2026-110855?
CVE-2026-110855 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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_var...
How severe is CVE-2026-110855?
CVE-2026-110855 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-110855?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.