Debian Security Tracker
DEBIAN-CVE-2026-110855
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | python-git | All versions before 3.1.30-1+deb12u3 (fixed in 3.1.30-1+deb12u3) |
| Debian:13 | python-git | All versions before 3.1.44-1+deb13u1 (fixed in 3.1.44-1+deb13u1) |
| Debian:14 | python-git | All versions before 3.2.1-1 (fixed in 3.2.1-1) |