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.

Project Subscriptions

Vendors Products
Gitpython Project Subscribe
Gitpython Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 14 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title GitPython before 3.2.0 Environment Variable Disclosure via .gitmodules Submodule Name
First Time appeared Gitpython Project
Gitpython Project gitpython
Weaknesses CWE-200
CPEs cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:*:*:*
Vendors & Products Gitpython Project
Gitpython Project gitpython
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T22:52:34.854Z

Reserved: 2026-10-14T22:16:22.734Z

Link: CVE-2026-110855

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-14T23:17:26.623

Modified: 2026-10-14T23:17:26.623

Link: CVE-2026-110855

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses