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

High 7.1 Published Updated

Attackers can expose environment variables by crafting malicious .gitmodules files, leaking secrets in directory names and logs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-110855?

CVE-2026-110855 is a high-severity vulnerability in gitpython-developers GitPython, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Weakness: CWE-200

Which versions are affected by CVE-2026-110855?

2 open source packages ship an affected version, including GitPython and gitpython.

PackageAffectedFixed in
GitPython PyPIAll versions3.2.0
gitpython PyPIAll versions3.2.0

How do I fix CVE-2026-110855?

Upgrade GitPython to 3.2.0 or later.

Is CVE-2026-110855 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-110855 exists.

Sources

Also known as DEBIAN-CVE-2026-110855, ECHO-ccb0-88c2-6cda, GHSA-cwpg-5qqf-hf36, GHSA-fx3j-rwgx-fr94, MINI-3xmf-8hf8-xwmf, UBUNTU-CVE-2026-110855.

Is CVE-2026-110855 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free