High [CVE-2026-67322] Environment variable exfiltration via attacker-controlled clone URL
This high-severity Red Hat Linux advisory covers CVE-2026-67322 affecting Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 9.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
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.
A flaw was found in GitPython. A remote attacker can exploit a vulnerability in the Repo.clone_from() method by providing a specially crafted Git repository URL.
This allows the attacker to exfiltrate sensitive environment variables, such as access keys or tokens, to an attacker-controlled server during the cloning process, leading to information disclosure. This Important vulnerability in GitPython allows for sensitive environment variable exfiltration.
This poses a risk of information disclosure, particularly for credentials or tokens, in Red Hat products that process untrusted clone URLs. Red Hat severity: Important — CVSS 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
Weakness: CWE-214.
- < 3.1.52
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
- python3.12-gitpython-0:3.1.59-1.el8ap
- automation-controller-0:4.6.33-1.el8ap
- python3.12-gitpython-0:3.1.59-1.el9ap
- automation-controller-0:4.6.33-1.el9ap
- automation-controller-0:4.7.17-1.el9ap
- ansible-automation-platform-25/controller-rhel8:1789607021
- ansible-automation-platform-26/controller-rhel9:1789673739
- ansible-automation-platform-27/controller-rhel9:1788918363
- ansible-automation-platform-27/hub-rhel9:1788918708
- llvm-main-22.1.8-4.1.hum1
- swift-lang-main-6.3.3-0.1.1.hum1
- llvm21-main-21.1.8-8.hum1
- rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1788315638
- 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-llmcompressor-cuda-py312-rhel9:1788185842
- rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1788185848
- rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1788186007
- rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1788185846
- rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1788185899
- rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1790331087
- 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-llmcompressor-cuda-py312-rhel9:1789651389
- rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1789651385
- rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1790077488
- rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1789983680
- rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1790260954
- satellite/iop-vulnerability-engine-rhel9:1788190382
- satellite/iop-vmaas-rhel9:1788226499
- satellite/iop-vulnerability-engine-rhel9:1788190224
- satellite/iop-vmaas-rhel9:1788254161
- RHSA-2026:59135
- RHSA-2026:71114
- RHSA-2026:59136
- RHSA-2026:71113
- RHSA-2026:71210
- RHSA-2026:71179
- RHSA-2026:67279
- RHSA-2026:44416
- RHSA-2026:45785
- RHSA-2026:45940
- RHSA-2026:65126
- RHSA-2026:73987
- RHSA-2026:63334
- RHSA-2026:63372
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
Mitigation checklist
- To mitigate this issue, ensure that applications using GitPython's Repo.clone_from() method to clone from untrusted sources operate within a process environment that does not contain sensitive information as environment variables. Alternatively, implement strict validation and sanitization of all Git repository URLs before they are passed to Repo.clone_from() to prevent the inclusion of environment variable tokens. If the application is a service, a restart may be required for environment variable changes to take effect.
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.