CVE Tools

CVE-2026-11332

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

Published: Jun 5, 2026Updated: Jun 30, 2026 Sources: CVE List NVDCWE-88

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.

In plain language

AI Worth attention

If you install Ansible roles from untrusted sources, a malicious role can trigger arbitrary code execution during `ansible-galaxy role install`, so you should avoid untrusted roles and watch for a fix, since no patch is currently known.

Executive summary

In Red Hat Ansible Automation Platform 2 (ansible-core), improper handling of argument delimiters in `ansible-galaxy role install` allows a malicious role’s `meta/requirements.yml` to inject crafted git flags, resulting in arbitrary code execution on the installer’s machine.

If affected, business impact
Full workstation takeoverCredential theft riskMalware persistenceOperational disruption

What to do now

  1. Confirm whether your team ever runs ansible-galaxy role install to fetch roles from third parties or shared/unknown role repositories.
  2. Inventory the roles currently installed via ansible-galaxy role install and identify any roles whose source you cannot fully verify (author, repository, and version).
  3. Stop installing roles from untrusted sources; only install roles you trust and can verify (e.g., internal repos with review, approved authors).
  4. If you must install new roles, do it only from approved sources and pin to specific, known-good versions.
  5. Check with Red Hat for a fix related to CVE-2026-11332 for Red Hat Ansible Automation Platform 2, and apply the vendor update as soon as it’s released.
May need vendor / contractor work

CVSS Vector Breakdown

AV:LAC:LPR:NUI:RS:UC:HI:HA:H
Exploitability
AV:LAttack Vector
Local
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

Exploitability

Workaround Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

1 technique
Execution
View detailed technique mapping

References

and 1 more references View all →
Could not load news mentions.

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-11332 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows