High [CVE-2026-67323] Arbitrary code execution via command injection due to unguarded Git options
This high-severity Red Hat Linux advisory covers CVE-2026-67323 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.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution).
Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output= can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.
This vulnerability allows an attacker to inject arbitrary commands when using functions like Repo.archive() and git.ls_remote(), potentially leading to arbitrary code execution. This is an Important vulnerability because it allows for arbitrary code execution or file truncation.
This could lead to a compromise of confidentiality, integrity, and availability on affected Red Hat products that utilize GitPython in such a manner. Red Hat severity: Important — CVSS 8.4 (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
Weakness: CWE-88.
Affected products named by the advisory: 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; Red Hat Ansible Automation Platform 2.7; and 11 more.
- < 3.1.51
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-mlflow-rhel9:1789653606
- 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
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
Mitigation checklist
- To mitigate the risk, ensure that applications utilizing GitPython are run within a sandboxed environment with minimal privileges. This limits the potential impact of arbitrary command execution or file truncation if an attacker successfully exploits the vulnerability through an application processing untrusted input. Review applications that interact with GitPython to ensure all input is properly sanitized and validated before being passed to methods such as Repo.archive(), git.ls_remote(), Repo.iter_commits(), or Repo.blame().
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.