7.8High

CVE-2026-11332Ansible-core: argument injection in ansible-galaxy role install leads to arbitrary code execution

Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8; Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9; Red Hat Red Hat Ansible Automation Plat… Published: (5 months ago)

Description

A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.

Weakness (CWE): CWE-88

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ansible automation platform 2.5 —
ansible automation platform 2.6 —
ansible automation platform 2.7 —
ansible automation platform developer 2.5 —
ansible automation platform developer 2.6 —
ansible automation platform developer 2.7 —
ansible automation platform inside 2.5 —
ansible automation platform inside 2.6 —
ansible automation platform inside 2.7 —
discovery 2 —
enterprise linux 8 —
enterprise linux 9 —
openshift 4.19 —
openshift 4.20 —
openshift 4.21 —
Red Hat Migration Toolkit for Applications 8 —
Red Hat Migration Toolkit for Virtualization all versions
Red Hat OpenShift Service Mesh 3 —
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 —
Red Hat Red Hat Ansible Automation Platform 2 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 10 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
Red Hat Red Hat Ansible Automation Platform 2.7 all versions
Red Hat Red Hat Ansible Automation Platform 2.7 for RHEL 10 all versions
Red Hat Red Hat Ansible Automation Platform 2.7 for RHEL 9 all versions
Red Hat Red Hat Discovery 2 all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions all versions
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support all versions
Red Hat Red Hat OpenShift Container Platform 4.19 all versions
Red Hat Red Hat OpenShift Container Platform 4.20 all versions
Red Hat Red Hat OpenShift Container Platform 4.21 all versions
Red Hat Red Hat Satellite 6.17 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.18 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.19 for RHEL 9 all versions
rhel e4s 9.4 —
rhel eus 9.6 —
satellite 6.17 —
satellite 6.18 —
satellite 6.19 —
satellite capsule 6.17 —
satellite capsule 6.18 —
satellite capsule 6.19 —
satellite maintenance 6.17 —
satellite maintenance 6.18 —
satellite maintenance 6.19 —
satellite utils 6.17 —
satellite utils 6.18 —
satellite utils 6.19 —

References and patches