CVE-2026-67322 json
GitPython before 3.1.52 Environment Variable Exfiltration via clone_from
published 3mo ago modified 19d ago also EUVD-2026-51855 , GHSA-rwj8-pgh3-r573 , PYSEC-2026-3842
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi gitpython 3.1.52
- gitpython-developers GitPython 3.1.52
- python-git Debian 12 3.1.30-1+deb12u3
- python-git Debian 13 3.1.44-1+deb13u1
- python-git Debian 14 3.1.61-1
debian advisories DEBIAN-CVE-2026-67322
- receptor ansible automation platform inside 2.5, ansible automation platform developer 2.5, ansible automation platform 2.5 1.6.8-1.el8ap
- receptor ansible automation platform inside 2.6, ansible automation platform inside 2.5, ansible automation platform developer 2.6 +3 more 1.6.8-1.el9ap
- python3.12-sqlparse ansible automation platform developer 2.5, ansible automation platform 2.5 0.6.0-1.el8ap
- python3.12-sqlparse ansible automation platform developer 2.6, ansible automation platform developer 2.5, ansible automation platform 2.6 +1 more 0.6.0-1.el9ap
- python3.12-gitpython ansible automation platform 2.5 3.1.60-1.el8ap
- python3.12-gitpython ansible automation platform 2.6, ansible automation platform 2.5 3.1.60-1.el9ap
- automation-gateway-server ansible automation platform 2.5 2.5.20260923-1.el8ap
- automation-gateway-server ansible automation platform 2.5 2.5.20260923-1.el9ap
red hat advisories RHSA-2026:71114RHSA-2026:71113RHSA-2026:59135RHSA-2026:59136RHSA-2026:45940RHSA-2026:44416
- python-GitPython SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 3.1.34.1693646983.2a2ae77-150400.9.8.1
suse advisories SUSE-SU-2026:4072-1
- python-GitPython openSUSE Leap 16.0 3.1.44-160000.4.1
- python-GitPython openSUSE Tumbleweed 3.1.58-1.1
opensuse advisories openSUSE-SU-2026:21874-1openSUSE-SU-2026:11466-1
Is CVE-2026-67322 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-67322 updated cvss 7.5
gitpython: GitPython: Environment variable exfiltration via attacker-controlled clone URL
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9affected: workaround, no fix available
-
Red Hat AI Inference Server rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/hub-rhel8, ansible-automation-platform-25/hub-rhel8, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-24/controller-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-th06-cpu-torch291-py312-rhel9, rhoai/odh-th06-cuda130-torch291-py312-rhel9affected: workaround, no fix available
-
Red Hat Ansible Automation Platform 2.5 ansible-automation-platform-25/controller-rhel8 1789607021fixed: vendor fix RHSA-2026:71210
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 python3.12-gitpython 3.1.59-1.el8ap, automation-controller-venv-tower 4.6.33-1.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 python3.12-gitpython 3.1.59-1.el9ap, automation-controller-venv-tower 4.6.33-1.el9apfixed: vendor fix RHSA-2026:71114
-
Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26/controller-rhel9 1789673739fixed: vendor fix RHSA-2026:71179
-
Red Hat Ansible Automation Platform 2.6 for RHEL 9 python3.12-gitpython 3.1.59-1.el9ap, automation-controller 4.7.17-1.el9ap, automation-controller-ui 4.7.17-1.el9ap, automation-controller-cli 4.7.17-1.el9ap, automation-controller-server 4.7.17-1.el9ap, automation-controller-venv-tower 4.7.17-1.el9apfixed: vendor fix RHSA-2026:71113
show 12 moreshow fewer
-
Red Hat Ansible Automation Platform 2.7 ansible-automation-platform-27/hub-rhel9 1788918708, ansible-automation-platform-27/controller-rhel9 1788918363fixed: vendor fix RHSA-2026:67279
-
Red Hat Hardened Images lld 22.1.8-4.1.hum1, lld21 21.1.8-8.hum1, lldb 22.1.8-4.1.hum1, lldb21 21.1.8-8.hum1, llvm 22.1.8-4.1.hum1, llvm21 21.1.8-8.hum1, +39 morefixed: vendor fix RHSA-2026:44416
-
Red Hat OpenShift AI 2.25 rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9 1788185839, rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9 1788185798, rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9 1788185733, rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9 1788185436, rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9 1788185848, rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 1788185899, +4 morefixed: vendor fix RHSA-2026:65126
-
Red Hat OpenShift AI 3.3 rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9 1790260954, rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9 1790072130, rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9 1790072109, rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9 1789651387, rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9 1789651385, rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 1790260954, +4 morefixed: vendor fix RHSA-2026:73987
-
Red Hat OpenShift AI 3.4 rhoai/odh-th06-cpu-torch210-py312-rhel9 1791874335, rhoai/odh-th06-rocm64-torch291-py312-rhel9 1791872119, rhoai/odh-th06-cuda130-torch210-py312-rhel9 1791961113, rhoai/odh-training-cuda128-torch29-py312-rhel9 1791786619, rhoai/odh-trustyai-nemo-guardrails-server-rhel9 1791556128, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 1791829182, +16 morefixed: vendor fix RHSA-2026:84734
-
Red Hat Satellite 6.18 satellite/iop-vmaas-rhel9 1788226499, satellite/iop-vulnerability-engine-rhel9 1788190382fixed: vendor fix RHSA-2026:63372
-
Red Hat Satellite 6.19 satellite/iop-vmaas-rhel9 1788254161, satellite/iop-vulnerability-engine-rhel9 1788190224fixed: vendor fix RHSA-2026:63354
-
Red Hat Pen Drive Powered by Red Hat Lightspeed pen-drive/pen-drive-scanner-rhel9not affected: component not present
-
Red Hat Ansible Automation Platform 2.5 ansible-automation-platform-25/hub-rhel8 1789606395, ansible-automation-platform-25/gateway-rhel8 1789605572, ansible-automation-platform-25/hub-web-rhel8 1789690469, ansible-automation-platform-25/receptor-rhel8 1789590330, ansible-automation-platform-25/de-minimal-rhel8 1789634812, ansible-automation-platform-25/ee-minimal-rhel8 1789652412, +20 more Red Hat Ansible Automation Platform 2.5 for RHEL 8 receptor 1.6.8-1.el8ap, receptorctl 1.6.8-1.el8ap, automation-hub 4.10.18-1.el8ap, automation-hub 4.10.19-1.el8ap, python3.12-django 5.2.17-1.el8ap, python3.12-aiohttp 3.14.3-1.el8ap, +31 more Red Hat Ansible Automation Platform 2.5 for RHEL 9 receptor 1.6.8-1.el9ap, receptorctl 1.6.8-1.el9ap, automation-hub 4.10.18-1.el9ap, automation-hub 4.10.19-1.el9ap, python3.12-django 5.2.17-1.el9ap, python3.12-aiohttp 3.14.3-1.el9ap, +31 more Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26/hub-rhel9 1789611274, ansible-automation-platform-26/gateway-rhel9 1789666472, ansible-automation-platform-26/hub-web-rhel9 1789615881, ansible-automation-platform-26/receptor-rhel9 1789610120, ansible-automation-platform-26/mcp-tools-rhel9 1789609282, ansible-automation-platform-26/de-minimal-rhel9 1789658734, +24 more Red Hat Ansible Automation Platform 2.6 for RHEL 9 receptor 1.6.8-1.el9ap, molecule 26.8.0-1.el9ap, receptorctl 1.6.8-1.el9ap, ansible-lint 26.8.0-1.el9ap, python3.12-nh3 0.3.6-1.el9ap, ansible-creator 26.8.0-1.el9ap, +67 more Red Hat Ansible Automation Platform 2.6 for RHEL 10 receptor 1.6.8-1.el10ap, molecule 26.8.0-1.el10ap, receptorctl 1.6.8-1.el10ap, ansible-lint 26.8.0-1.el10ap, python-django 5.2.17-1.el10ap, python-sqlparse 0.6.0-1.el10ap, +11 morenot affected: vulnerable code not present
+1 more productsfewer
Red Hat Ansible Automation Platform 2.7 ansible-automation-platform-27/gateway-rhel9 1788918510, ansible-automation-platform-27/hub-web-rhel9 1788924567, ansible-automation-platform-27/receptor-rhel9 1788918370, ansible-automation-platform-27/mcp-tools-rhel9 1788917342, ansible-automation-platform-27/de-minimal-rhel9 1788920534, ansible-automation-platform-27/ee-minimal-rhel9 1788901236, +24 more -
Red Hat Hardened Images rust 1.97.1-2.hum1not affected: component not present
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9 Red Hat OpenShift AI 2.25 rhoai/odh-rhel9-operator 1788331391, rhoai/odh-vllm-cpu-rhel9 1786712073, rhoai/odh-dashboard-rhel9 1788312226, rhoai/odh-modelmesh-rhel9 1788319539, rhoai/odh-operator-bundle 1788332816, rhoai/odh-vllm-cuda-rhel9 1786710989, +61 more Red Hat OpenShift AI 3.3 rhoai/odh-cli-rhel9 1790070206, rhoai/rhai-cli-rhel9 1790070206, rhoai/odh-mlflow-rhel9 1789653606, rhoai/odh-trainer-rhel9 1790136369, rhoai/odh-maas-api-rhel9 1790131842, rhoai/odh-mlserver-rhel9 1789121365, +67 more Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1791509689, rhoai/rhai-cli-rhel9 1791509689, rhoai/odh-automl-rhel9 1791535789, rhoai/odh-mlflow-rhel9 1791865967, rhoai/odh-autorag-rhel9 1791557539, rhoai/odh-trainer-rhel9 1791869783, +78 more Red Hat OpenStack Platform 16.2 python3-GitPythonnot affected: vulnerable code not present
-
Red Hat OpenStack Platform 17.1 GitPython, python3-GitPythonnot affected: vulnerable code not in execute path
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 4.0 | 8.7 | 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: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 |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gitpython | <3.1.52 |
3.1.52 |
Affected products
- gitpython-developers GitPython
Classification
References
-
github.com
/gitpython-developers/GitPython/pull/2172
web
-
github.com
/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2
web
-
github.com
/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573
vendor-advisory, exploit, web, advisory
-
vulncheck.com
/advisories/gitpython-before-environment-variable-exfiltration-via-clone-from
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-67322
advisory
-
github.com
/advisories/GHSA-rwj8-pgh3-r573
advisory
-
github.com
/gitpython-developers/GitPython
package
-
github.com
/gitpython-developers/GitPython/releases/tag/3.1.52
web
-
github.com
/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3842.yaml
web
-
pypi.org
/project/gitpython
web, package
Sources
- CVE List CVE-2026-67322
- GitHub Advisory GHSA-rwj8-pgh3-r573
- NVD CVE-2026-67322
- OSV PYSEC-2026-3842
- Maintainer advisory GHSA-rwj8-pgh3-r573
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of gitpython-developers/GitPython published their own advisory on GitHub. Reviewed sources take precedence over it.