Information disclosure in GitPython - #VU139088

 

Information disclosure in GitPython - #VU139088

Published: July 22, 2026


Vulnerability identifier: #VU139088
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gitpython-developers
Affected software:
GitPython

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to exposure of sensitive information to an unauthorized actor in Repo.clone_from() and Git.polish_url() when processing an attacker-controlled clone URL. A remote attacker can supply a crafted URL containing environment-variable tokens to disclose sensitive information.

The issue affects non-Cygwin platforms, where environment-variable expansion is applied to the clone URL before it is passed to git clone.


Remediation

Install security update from vendor's website.

Sources