CVE-2026-11332: Argument injection in ansible-galaxy role install leads to arbitrary code execution
Affects ansibleSource GCVE Database
Not known to be exploited · CVSS 7.8 High : upgrade to 14.0.0_2 soon.
Data as of 22 Nov 2026, 18:23 UTC
Sources agree
| CNA (redhat) | CVSS 3.1 | 7.8 |
|---|---|---|
| ADP (redhat-SADP) | CVSS 3.1 | 7.8 |
- Patch
- Available – fixed in 14.0.0_2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade ansible to 14.0.0_2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewansiblepkg:brew/ansibleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in ansible-core version 14.0.0_2. Users should upgrade to this fixed version to remediate the vulnerability. No effective mitigations other than upgrading currently meet Red Hat's criteria for ease of use and applicability. Users should avoid installing roles from untrusted sources to reduce risk.
Description
A vulnerability in ansible-core's ansible-galaxy role install command allows a malicious role author to inject arbitrary git configuration flags via the src field in a role's meta/requirements.yml file. This improper neutralization of argument delimiters can lead to arbitrary code execution on the machine of a user who installs the malicious role. The flaw affects ansible-core versions from 4.0.0 up to but not including 14.0.0_2. A fix is available in version 14.0.0_2. Exploitation requires user interaction by installing a crafted role, but the impact is severe, potentially leading to full system compromise.
References
- nvd.nist.gov/vuln/detail/CVE-2026-11332 (opens in a new tab)
- github.com/ansible/ansible/pull/87070 (opens in a new tab)
- github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2f (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-11332 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2485379 (opens in a new tab)
- github.com/ansible/ansible (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11332.json (opens in a new tab)