Information disclosure in GitPython - CVE-2026-110855
Published: September 30, 2026 / Updated: October 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper neutralization of environment-variable expansion in Repo._clone() when initializing submodules from a cloned repository with a crafted .gitmodules submodule name. A remote attacker can cause environment variables to be expanded in the separate_git_dir path to disclose sensitive information.
User interaction is required to clone the malicious repository and initialize its submodules.
Affected software
Debian Linux
python-git (Debian package)
How to mitigate CVE-2026-110855
python-git (Debian package) - update to 3.1.44-1+deb13u1