Skip to main content

Ansible Core CVE-2026-11332

| EUVDEUVD-2026-34791 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-06-05 secalert@redhat.com GHSA-w8p5-mx5w-cpqj
7.8
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
SUSE
HIGH
qualitative
Red Hat
7.8 HIGH
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Analysis Generated
Jun 05, 2026 - 09:31 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Arbitrary code execution in ansible-core's ansible-galaxy role install command allows malicious role authors to execute code on a victim's machine when the victim installs the role. The flaw stems from improper neutralization of argument delimiters (CWE-88) in the src field of meta/requirements.yml, allowing injection of arbitrary git configuration flags. No public exploit identified at time of analysis, and the issue is not currently listed in CISA KEV.

Technical ContextAI

Ansible-core is Red Hat's open-source IT automation engine, and ansible-galaxy is its bundled CLI for installing reusable roles and collections. When installing a role, ansible-galaxy parses the role's meta/requirements.yml to resolve transitive dependencies and shells out to git to fetch each src endpoint. The vulnerability is a CWE-88 (Improper Neutralization of Argument Delimiters in a Command) issue: a crafted src string can smuggle additional git command-line flags (for example flags that set git config values or upload-pack overrides) into the underlying git invocation, turning a dependency URL into an arbitrary-argument vector that achieves code execution on the installing host.

Affected ProductsAI

Ansible-core is affected as confirmed by the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-11332 and tracking bug https://bugzilla.redhat.com/show_bug.cgi?id=2485379, with the upstream project at https://github.com/ansible/ansible. No CPE strings and no specific fixed or affected version ranges are provided in the supplied intelligence, so the precise vulnerable version window should be confirmed against the Red Hat and upstream advisories before scoping.

RemediationAI

No vendor-released patch identified at time of analysis from the provided data - monitor the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-11332 and the upstream ansible/ansible repository for a fixed release and upgrade ansible-core to that version once published. Until a patched build is available, restrict ansible-galaxy role install to vetted sources by mirroring required roles into an internal Galaxy server or git repository and disabling automatic transitive dependency resolution, manually audit any incoming meta/requirements.yml for unusual characters or flag-like tokens in the src field, and run ansible-galaxy under a least-privileged service account or ephemeral container so that a successful exploit cannot pivot into developer credentials or long-lived CI secrets; the trade-off of the mirror approach is the operational overhead of curating roles, and sandboxing CI runners can break workflows that expect persistent caches.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Module for Systems Management 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.0 Affected

Share

CVE-2026-11332 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy