# CVE-2026-110855: GitPython before 3.2.0 Environment Variable Disclosure via .gitmodules Submodule Name

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-14T22:52:34.854Z
- Modified: 2026-10-27T15:47:24.291Z
- Also known as: GHSA-fx3j-rwgx-fr94
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- gitpython-developers GitPython: before 3.2.0 (not affected: 3.2.0)
- gitpython (PyPI): before 3.2.0

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/gitpython-before-3.2.0-environment-variable-disclosure-via-gitmodules-submodule-name> (third-party-advisory)
- <https://github.com/gitpython-developers/GitPython/pull/2255> (web)
- <https://github.com/gitpython-developers/GitPython/commit/9349ff58ee00c9fb14d515c8e693f33b2144b238> (web)
- <https://github.com/gitpython-developers/GitPython> (package)
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0> (web)

## Sources

- CVE List: [CVE-2026-110855](https://www.cve.org/CVERecord?id=CVE-2026-110855), CVE Terms of Use, modified 2026-10-15
- GitHub Advisory Database: [GHSA-fx3j-rwgx-fr94](https://github.com/advisories/GHSA-fx3j-rwgx-fr94), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-110855](https://nvd.nist.gov/vuln/detail/CVE-2026-110855), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-110855 · Whole record: https://cve.day/CVE-2026-110855.json · Rebuilt by cve.day 2026-11-25T22:59:44.821Z
