CVE-2026-67322
HIGH
MEDIUM
Priority: 0.03
BB Relevance:
77/100
Published: 2026-08-01
Modified: 2026-10-23
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
No Auth
No Interaction
Conf. Impact
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
None
UI:
None
S:
X
AT:
None
VC:
High
VI:
None
VA:
None
Description
GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls os.path.expandvars() on the URL before invoking git clone. An attacker who controls the clone URL can embed $NAME or ${NAME} tokens that are expanded to the values of the hosting process's environment variables (e.g., AWS_SECRET_ACCESS_KEY or GITHUB_TOKEN). The resulting URL, now containing the secret, is transmitted over the network to an attacker-controlled host during the clone attempt, disclosing the secret.
Weakness Classification (1)
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| gitpython_project | gitpython | < 3.1.52 |
References & Advisories (2)
Third Party Advisory
Exploit
Vendor Advisory