CVE-2026-73622
Published:August 13, 2026
Updated:August 25, 2026
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.
Affected Packages
gitpython (CONDA):
Affected version(s) >=1.0.1 <3.1.56Fix Suggestion:
Update to version 3.1.56gitpython (CONDA):
Affected version(s) >=1.0.1 <3.1.55Fix Suggestion:
Update to version 3.1.55https://github.com/gitpython-developers/GitPython.git (GITHUB):
Affected version(s) >=3.1.50 <3.1.55Fix Suggestion:
Update to version 3.1.55gitpython (PYTHON):
Affected version(s) >=0.1.7 <3.1.56Fix Suggestion:
Update to version 3.1.56gitpython (PYTHON):
Affected version(s) >=0.1.7 <3.1.55Fix Suggestion:
Update to version 3.1.55Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.28