Skip to main content
VulnerabilityPublished Updated

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

Affects moleculeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-11332· High 7.8

Not known to be exploited · CVSS 7.8 High : upgrade to 26.6.0 soon.

Data as of 4 Dec 2026, 18:45 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.

Sources agree

CVSS scores by source
CNA (redhat)CVSS 3.17.8
ADP (redhat-SADP)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewmoleculepkg:brew/moleculeOther threatsAffected
  • >=5.0.1 <26.6.0
Fixed in
  • 26.6.0
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • <2.16.19rc1
Fixed in
  • 2.16.19rc1
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • 2.17.0 – 2.18.17rc1
  • >=2.17.0b1 <2.18.18rc1
71 affected builds
Fixed in
  • 2.18.18rc1
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • 2.19.0 – 2.19.10rc1
  • >=2.19.0b1 <2.19.11rc1
30 affected builds
Fixed in
  • 2.19.11rc1
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • 2.20.0 – 2.20.6rc1
  • >=2.20.0b1 <2.20.7rc1
18 affected builds
Fixed in
  • 2.20.7rc1
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • 2.21.0 – 2.21.0rc1
  • >=2.21.0b1 <2.21.1rc1
5 affected builds
Fixed in
  • 2.21.1rc1

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

Community reviews

Loading reviews…