CVE-2026-67322

Aliases:GHSA-rwj8-pgh3-r573UBUNTU-CVE-2026-67322DEBIAN-CVE-2026-67322CGA-gf4q-vj84-8gc9CGA-hwjq-gvpf-hrm6CGA-hwp6-92w6-3hc8CGA-pch2-xj4h-54v9PYSEC-2026-3842CGA-6w5m-xc4v-79jcCGA-f2rq-g7p8-jhp4
Analyzed
Published: 01 Aug 2026, 12:22
Last modified:14 Aug 2026, 16:50

Vulnerability Summary

Overall Risk (default)
medium
45/100
CVSS Score
8.7 HIGH
v4.0 (cve.org)
EPSS Score
0.27% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

01 Aug 2026, 12:22
Published
Vulnerability first disclosed
14 Aug 2026, 16:50
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0HIGHScore: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
  • v4.0HIGHScore: 8.7CVSS: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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Trends

Current EPSS score: 0.27% Percentile: 20%

Techniques & Countermeasures

  • CWE-200Exposure of Sensitive Information to an Unauthorized Actor

    The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Affected Systems

  • chainguardcheckov

    < 3.3.8-r1

  • chainguardmlflow

    < 3.14.0-r2 | < 3.16.0-r0

  • wolficheckov

    < 3.3.8-r1

  • wolfimlflow

    < 3.14.0-r2 | < 3.16.0-r0

  • debianpython-git

    all | all | all | all | < 3.1.61-1

  • ubuntupython-git

    all

  • gitpython_projectgitpython

    < 3.1.52

  • gitpython-developersgitpython

    < 3.1.52

  • PyPIgitpython

    < 3.1.52

References (13)