Information Exposure Affecting python311-GitPython package, versions <3.1.34.1693646983.2a2ae77-150400.9.8.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.33% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES156-PYTHON311GITPYTHON-19779578
  • published14 Sept 2026
  • disclosed8 Sept 2026

Introduced: 8 Sep 2026

CVE-2026-67322  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade SLES:15.6 python311-GitPython to version 3.1.34.1693646983.2a2ae77-150400.9.8.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python311-GitPython package and not the python311-GitPython package as distributed by SLES. See How to fix? for SLES:15.6 relevant fixed versions and status.

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 Base Scores

version 3.1