CVE-2026-11332: Argument Injection in ansible-core Role Installation Leading to Code Execution
CVE-2026-11332 is an argument-injection vulnerability in ansible-core's ansible-galaxy role installation functionality. Improper neutralization of argument delimiters in role dependency specifications allows a malicious role author to inject arbitrary Git configuration flags through the src field. When a user installs the malicious role, attacker-controlled dependency values can be interpreted as Git options, resulting in arbitrary code execution on the installation machine. The fix adds an end-of-options separator to the role installation code path.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code execution with the privileges of the user performing the role installation, potentially compromising the confidentiality, integrity, and availability of resources accessible to that account. The vulnerability has a listed CVSS v3.0 base score of 7.8, with high confidentiality, integrity, and availability impacts.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid installing untrusted roles and restrict role sources to approved repositories. Review dependency metadata, particularly src values, before installation; trusting the top-level role alone does not establish that its dependencies are safe. Run installations under a minimally privileged account in an isolated environment without unnecessary credentials or sensitive filesystem access to limit potential impact. These precautions do not replace the security update.
Remediation
Patch, then assume compromise.
Upgrade ansible-core to a fixed release in the applicable branch: 2.16.19rc1 or later in 2.16, 2.18.18rc1 or later in 2.18, 2.19.11rc1 or later in 2.19, 2.20.7rc1 or later in 2.20, or 2.21.1rc1 or later in 2.21. For distribution-managed installations, apply the vendor's security update rather than relying solely on upstream version comparisons. RHEL 8 provides fixed ansible-core and corresponding ansible-test packages at version 2.16.3-4.el8_10 under RHSA-2026:66248. Other affected distributions provide their own security updates. The role installation fix does not address the separate collection installation vulnerability tracked as CVE-2026-16493.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-11332 exploited in the wild?
- As of Nov 4, 2026, Mallory has no reports of CVE-2026-11332 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-11332?
- As of Nov 4, 2026, Mallory has found no public exploit for CVE-2026-11332.
- Is there a patch for CVE-2026-11332?
- Upgrade ansible-core to a fixed release in the applicable branch: 2.16.19rc1 or later in 2.16, 2.18.18rc1 or later in 2.18, 2.19.11rc1 or later in 2.19, 2.20.7rc1 or later in 2.20, or 2.21.1rc1 or later in 2.21. For distribution-managed installations, apply the vendor's security update rather than relying solely on upstream version comparisons.
- How severe is CVE-2026-11332?
- CVE-2026-11332 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.25% (10th percentile) as of Nov 4, 2026.
Recent activity
45 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.