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.
History

Fri, 05 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
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.
Title Ansible-core: argument injection in ansible-galaxy role install leads to arbitrary code execution
First Time appeared Redhat
Redhat ansible Automation Platform
Weaknesses CWE-88
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-06-05T08:21:43.027Z

Reserved: 2026-06-05T07:58:25.632Z

Link: CVE-2026-11332

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-05T09:16:26.070

Modified: 2026-06-05T09:16:26.070

Link: CVE-2026-11332

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.