All vulnerabilities
CVE-2026-110855GHSA-fx3j-rwgx-fr94

GitPython before 3.2.0 Environment Variable Disclosure via .gitmodules Submodule Name

gitpython-developers GitPython
CVSS
7.1High
ExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 15 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.23%Chance of exploitation activity in the next 30 days, higher than 12% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in3.2.0Fixed versionCVE List
Published14 Oct 2026Updated 15 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • GitPythonaffected: all versions before 3.2.0CVE List
  • GitPythonunaffected: 3.2.0CVE List

References 2