CVE-2026-110855

NameCVE-2026-110855
DescriptionGitPython 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4872-1, DSA-6594-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-git (PTS)bookworm3.1.30-1+deb12u2vulnerable
bookworm (security)3.1.30-1+deb12u3fixed
trixie3.1.44-1vulnerable
trixie (security)3.1.44-1+deb13u1fixed
forky, sid3.2.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-gitsourcebookworm3.1.30-1+deb12u3DLA-4872-1
python-gitsourcetrixie3.1.44-1+deb13u1DSA-6594-1
python-gitsource(unstable)3.2.1-1

Notes

https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94
Fixed by: https://github.com/gitpython-developers/GitPython/commit/9349ff58ee00c9fb14d515c8e693f33b2144b238 (3.2.0)

Search for package or bug name: Reporting problems