Skip to main content
← All vulnerabilities
CVE-2026-110855GHSA-FX3J-RWGX-FR94

GitPython before 3.2.0 Environment Variable Disclosure via .gitmodules Submodule Name

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gitpython-developers GitPython

    fixed in 3.2.0

  • gitpythonPyPI

    fixed in 3.2.0

References 2

GitHub · gitpython-developers/GitPython

vulncheck.com