Information disclosure in Gitpython-Developers Gitpython
CVE-2026-73622
GitPython before 3.1.55 fails to disable environment variable expansion in Remote.create() and Submodule.add() URL handling, allowing attackers to exfiltrate secrets by supplying URLs containing variable references. Attackers can craft URLs with environment variable tokens that are expanded into .git/config and .gitmodules, then transmitted to attacker-controlled hosts during fetch or pull operations.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 44.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gitpython-Developers Gitpython — versions 0, 3.1.55
- Gitpython Project
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-94p4-4cq8-9g67) (vendor-advisory, Exploit, Vendor Advisory)
- Patch Commit (Patch, patch)
- VulnCheck Advisory: GitPython before 3.1.55 Environment Variable Exfiltration via Remote.add() (Third Party Advisory, third-party-advisory)