Vulnerability · Published Oct 14, 2026 · Assigned by VulnCheck

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

Medium 6.5

In plain English

A medium-severity information exposure in GitPython from gitpython-developers. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 78.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-git3.1.30-1+deb12u3DEBIAN-CVE-2026-110855
Debian:13python-git3.1.44-1+deb13u1DEBIAN-CVE-2026-110855
Debian:14python-git3.2.1-1DEBIAN-CVE-2026-110855
PyPIgitpython3.2.0GHSA-fx3j-rwgx-fr94
Ubuntu:26.10python-gitno fix listedUBUNTU-CVE-2026-110855

Affected products (as reported)

VendorProductVersions
gitpython-developers GitPython 0 – before 3.2.0

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

References