What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Ansible Automation Platform 2.5 1785381341; Red Hat Ansible Automation Platform 2.5 for RHEL 8 1:2.16.19-1.el8ap; Red Hat Ansible Automation Platform 2.5 for RHEL 9 1:2.16.19-1.el9ap; Red Hat Ansible Automation Platform 2.6 1785647559; Red Hat Ansible Automation Platform 2.6 for RHEL 10 2:2.16.19-1.el10ap; Red Hat Ansible Automation Platform 2.6 for RHEL 9 1:2.16.19-1.el9ap; Red Hat Ansible Automation Platform 2.7 1785446384; Red Hat Ansible Automation Platform 2.7 for RHEL 10 2:2.16.19-1.el10ap; Red Hat Ansible Automation Platform 2.7 for RHEL 9 1:2.16.19-1.el9ap; Red Hat Discovery 2 1784821670; Red Hat Enterprise Linux 10 1:2.16.16-2.el10_2.1; Red Hat Enterprise Linux 10.0 Extended Update Support 1:2.16.14-1.el10_0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-11332 or the next vulnerability affects your stack