CVE-2026-11332
JSON

7.8high

Ansible-core: argument injection in ansible-galaxy role install leads to arbitrary code execution

Severity
7.8high CVSS:3.1 by redhat
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-w8p5-mx5w-cpqjPYSEC-2026-3458

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

Product or packageVersionsReported by
ansible-coreNot specified
Not affected: from 1:2.16.19-1.el8ap before *, from 1:2.16.19-1.el9ap before *, from 2:2.16.19-1.el10ap before *, from 1:2.16.16-2.el10_2.1 before *, from 1:2.16.14-1.el10_0.1 before *, from 0:2.16.3-4.el8_10 before *
CVE List
pulpcore-obsolete-packagesNot specified
Not affected: from 0:1.3.1-5.el9pc before *
CVE List
python3.12-pulpcoreNot specified
Not affected: from 0:3.73.30-3.el9pc before *
CVE List
ansible-automation-platform-25/ee-minimal-rhel8Not specified
Not affected: from 1785381341 before *
CVE List
ansible-automation-platform-25/ee-supported-rhel8Not specified
Not affected: from 1785429657 before *
CVE List
ansible-automation-platform-25/lightspeed-rhel8Not specified
Not affected: from 1785430174 before *
CVE List
ansible-automation-platform-25/ee-minimal-rhel9Not specified
Not affected: from 1785425335 before *
CVE List
ansible-automation-platform-25/ee-supported-rhel9Not specified
Not affected: from 1785449441 before *
CVE List
ansible-automation-platform-26/de-minimal-rhel9Not specified
Not affected: from 1785647559 before *
CVE List
ansible-automation-platform-26/de-supported-rhel9Not specified
Not affected: from 1785649812 before *
CVE List
ansible-automation-platform-26/eda-controller-rhel9Not specified
Not affected: from 1785633038 before *
CVE List
ansible-automation-platform-26/lightspeed-rhel9Not specified
Not affected: from 1785775360 before *
CVE List

All scores

redhat7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
redhat-SADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
PyPA Advisory Database7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-88

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad en ansible-core. El comando ansible-galaxy role install procesa las especificaciones de dependencia del archivo meta/requirements.yml de un rol. Debido a la neutralización incorrecta de los delimitadores de argumentos, un autor de rol malicioso puede inyectar indicadores de configuración de Git arbitrarios a través del campo src. Esto permite la ejecución de código arbitrario en la máquina de un usuario que instala el rol mediante ansible-galaxy role install.

References

https://access.redhat.com/errata/RHSA-2026:42078vendor-advisory
https://access.redhat.com/errata/RHSA-2026:42079vendor-advisory
https://access.redhat.com/errata/RHSA-2026:42080vendor-advisory
https://access.redhat.com/errata/RHSA-2026:46836vendor-advisory
https://access.redhat.com/errata/RHSA-2026:50340vendor-advisory
https://access.redhat.com/errata/RHSA-2026:50344vendor-advisory
https://access.redhat.com/errata/RHSA-2026:50357vendor-advisory
https://access.redhat.com/errata/RHSA-2026:50479vendor-advisory
https://access.redhat.com/errata/RHSA-2026:57148vendor-advisory
https://access.redhat.com/errata/RHSA-2026:57149vendor-advisory
https://access.redhat.com/errata/RHSA-2026:63385vendor-advisory
https://access.redhat.com/errata/RHSA-2026:63386vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-11332 changed 2026-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-w8p5-mx5w-cpqj changed 2026-07-23CC-BY-4.0
NVDCVE-2026-11332 changed 2026-11-26Public domain
PyPA Advisory DatabasePYSEC-2026-3458 changed 2026-07-23CC-BY-4.0