GHSA-cwpg-5qqf-hf36HighCVSS 6.5

GitPython before 3.2.0 contains an information disclosure vulnerability that allows malicious...

Published
October 15, 2026
Last Modified
October 15, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (4)