CVE-2026-11332
Ansible-core: argument injection in ansible-galaxy role install leads to arbitrary code execution
Also known as GHSA-w8p5-mx5w-cpqj, PYSEC-2026-3458
Mitigation
- Upgrade ansible-core to one of 2.16.19rc1, 2.18.18rc1, 2.19.11rc1, 2.20.7rc1, 2.21.1rc1 (or later in the same release line).
- Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Who should check
- Projects that depend on PyPI package ansible-core (< 2.16.19rc1)
- Anyone running Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
- Anyone running Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
- Anyone running Red Hat Ansible Automation Platform 2.6 for RHEL 10 all versions
- Anyone running Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
- Anyone running Red Hat Ansible Automation Platform 2.7 for RHEL 10 all versions
- Anyone running Red Hat Ansible Automation Platform 2.7 for RHEL 9 all versions
- Anyone running Red Hat Enterprise Linux 10 all versions
Vulnerability facts
- Affected
- ansible-core < 2.16.19rc1
- Fixed in
- 2.16.19rc1, 2.18.18rc1, 2.19.11rc1, 2.20.7rc1, 2.21.1rc1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-88
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-11332. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-11332.md Affected: ansible-core < 2.16.19rc1 Fixed in: 2.16.19rc1, 2.18.18rc1, 2.19.11rc1, 2.20.7rc1, 2.21.1rc1 Steps: 1. Search this machine and project for ansible-core (PyPI), Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 10, Red Hat Ansible Automation Platform 2.6 for RHEL 9, Red Hat Ansible Automation Platform 2.7 for RHEL 10: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2026:42078
- https://access.redhat.com/errata/RHSA-2026:42079
- https://access.redhat.com/errata/RHSA-2026:42080
- https://access.redhat.com/errata/RHSA-2026:46836
- https://access.redhat.com/errata/RHSA-2026:50340
- https://access.redhat.com/errata/RHSA-2026:50344
- https://access.redhat.com/errata/RHSA-2026:50357
- https://access.redhat.com/errata/RHSA-2026:50479
- https://access.redhat.com/errata/RHSA-2026:57148
- https://access.redhat.com/errata/RHSA-2026:57149
- https://access.redhat.com/errata/RHSA-2026:63385
- https://access.redhat.com/errata/RHSA-2026:63386
- https://access.redhat.com/errata/RHSA-2026:63387
- https://access.redhat.com/errata/RHSA-2026:66248
- https://access.redhat.com/errata/RHSA-2026:67465
- https://access.redhat.com/errata/RHSA-2026:67466
- https://access.redhat.com/errata/RHSA-2026:67467
- https://access.redhat.com/errata/RHSA-2026:83703
- https://access.redhat.com/errata/RHSA-2026:87124
- https://access.redhat.com/errata/RHSA-2026:92281
- https://access.redhat.com/errata/RHSA-2026:92284
- https://nvd.nist.gov/vuln/detail/CVE-2026-11332
- https://github.com/advisories/GHSA-w8p5-mx5w-cpqj
Patches
FAQ
Is CVE-2026-11332 being exploited?
There is no confirmed exploitation: CVE-2026-11332 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-11332?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-11332?
ansible-core < 2.16.19rc1.
Is there a fix for CVE-2026-11332?
Yes. Fixed in 2.16.19rc1, 2.18.18rc1, 2.19.11rc1, 2.20.7rc1, 2.21.1rc1. Upgrade ansible-core to one of 2.16.19rc1, 2.18.18rc1, 2.19.11rc1, 2.20.7rc1, 2.21.1rc1 (or later in the same release line). Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
How do I check if I'm affected by CVE-2026-11332?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.