CVE-2026-11332: ansible-core · Argument injection in ansible-galaxy role install leads to arbitrary code execution
Affects moleculeSource GCVE Database
Not known to be exploited · CVSS 7.8 High : upgrade to 26.6.0 soon.
Data as of 4 Dec 2026, 18:45 UTC
Sources agree
| CNA (redhat) | CVSS 3.1 | 7.8 |
|---|---|---|
| ADP (redhat-SADP) | CVSS 3.1 | 7.8 |
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 26.6.0, 2.16.19rc1, 2.18.18rc1 +3
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 4 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmoleculepkg:brew/moleculeOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther 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 26.6.0. Users are strongly advised to upgrade to this fixed version to remediate the vulnerability. No effective mitigations meeting Red Hat's criteria are currently available other than upgrading. Users should avoid installing roles from untrusted sources to reduce risk until patched.
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. Exploitation requires user interaction by tricking a victim into installing a crafted role. The issue affects ansible-core versions from 5.0.1 up to but not including 26.6.0 and is fixed in version 26.6.0.
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)