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 package | Versions | Reported by |
|---|---|---|
| ansible-core | Not 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-packages | Not specified Not affected: from 0:1.3.1-5.el9pc before * | CVE List |
| python3.12-pulpcore | Not specified Not affected: from 0:3.73.30-3.el9pc before * | CVE List |
| ansible-automation-platform-25/ee-minimal-rhel8 | Not specified Not affected: from 1785381341 before * | CVE List |
| ansible-automation-platform-25/ee-supported-rhel8 | Not specified Not affected: from 1785429657 before * | CVE List |
| ansible-automation-platform-25/lightspeed-rhel8 | Not specified Not affected: from 1785430174 before * | CVE List |
| ansible-automation-platform-25/ee-minimal-rhel9 | Not specified Not affected: from 1785425335 before * | CVE List |
| ansible-automation-platform-25/ee-supported-rhel9 | Not specified Not affected: from 1785449441 before * | CVE List |
| ansible-automation-platform-26/de-minimal-rhel9 | Not specified Not affected: from 1785647559 before * | CVE List |
| ansible-automation-platform-26/de-supported-rhel9 | Not specified Not affected: from 1785649812 before * | CVE List |
| ansible-automation-platform-26/eda-controller-rhel9 | Not specified Not affected: from 1785633038 before * | CVE List |
| ansible-automation-platform-26/lightspeed-rhel9 | Not specified Not affected: from 1785775360 before * | CVE List |
| ansible-automation-platform-27/de-minimal-rhel9 | Not specified Not affected: from 1785446384 before * | CVE List |
| ansible-automation-platform-27/de-supported-rhel9 | Not specified Not affected: from 1785448519 before * | CVE List |
| ansible-automation-platform-27/eda-controller-rhel9 | Not specified Not affected: from 1785374869 before * | CVE List |
| ansible-automation-platform-27/lightspeed-rhel9 | Not specified Not affected: from 1785375273 before * | CVE List |
| ansible-automation-platform-27/platform-resource-rhel9-operator | Not specified Not affected: from 1792138710 before * | CVE List |
| discovery/discovery-server-rhel9 | Not specified Not affected: from 1784821670 before * | CVE List |
| openshift4/ose-ansible-rhel9-operator | Not specified Not affected: from 1793175207 before *, from 1793175483 before *, from 1791981285 before * | CVE List |
| mta/mta-rhel9-operator | Not specified | CVE List |
| migration-toolkit-virtualization/mtv-rhel9-operator | Not specified | CVE List |
| mtv-candidate/mtv-rhel9-operator | Not specified | CVE List |
| openshift-service-mesh/kiali-rhel9-operator | Not specified | CVE List |
| rhacm2/volsync-operator-bundle | Not specified | CVE List |
| rhacm2/volsync-rhel9 | Not specified | CVE List |
| ansible-automation-platform-24/hub-rhel8 | Not specified | CVE List |
| ansible-automation-platform-24/lightspeed-rhel8 | Not specified | CVE List |
| ansible-automation-platform-25/controller-rhel8-operator | Not specified | CVE List |
| ansible-automation-platform-25/de-minimal-rhel8 | Not specified | CVE List |
| ansible-automation-platform-25/de-supported-rhel8 | Not specified | CVE List |
| ansible-automation-platform-25/eda-controller-rhel8 | Not specified | CVE List |
| ansible-automation-platform-25/eda-controller-rhel8-operator | Not specified | CVE List |
| ansible-automation-platform-25/gateway-rhel8-operator | Not specified | CVE List |
| ansible-automation-platform-25/hub-rhel8 | Not specified | CVE List |
| ansible-automation-platform-25/hub-rhel8-operator | Not specified | CVE List |
| ansible-automation-platform-25/lightspeed-rhel8-operator | Not specified | CVE List |
| ansible-automation-platform-25/platform-resource-rhel8-operator | Not specified | CVE List |
| ansible-automation-platform-25/platform-resource-runner-rhel8 | Not specified | CVE List |
| ansible-automation-platform-26/controller-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/eda-controller-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/ee-minimal-rhel9 | Not specified | CVE List |
| ansible-automation-platform-26/ee-supported-rhel9 | Not specified | CVE List |
| ansible-automation-platform-26/gateway-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/hub-rhel9 | Not specified | CVE List |
| ansible-automation-platform-26/hub-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/lightspeed-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/platform-resource-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-26/platform-resource-runner-rhel9 | Not specified | CVE List |
| ansible-automation-platform-27/aap-cloud-billing-operator-rhel9 | Not specified | CVE List |
| ansible-automation-platform-27/controller-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-27/eda-controller-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-27/ee-minimal-rhel9 | Not specified | CVE List |
| ansible-automation-platform-27/ee-supported-rhel9 | Not specified | CVE List |
| ansible-automation-platform-27/gateway-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-27/hub-rhel9 | Not specified | CVE List |
| ansible-automation-platform-27/hub-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-27/lightspeed-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-27/metrics-service-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform-27/platform-resource-runner-rhel9 | Not specified | CVE List |
| ansible-automation-platform-tech-preview/ansible-devspaces-rhel9 | Not specified | CVE List |
| ansible-automation-platform-tech-preview/metrics-service-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform/ee-minimal-rhel8 | Not specified | CVE List |
| ansible-automation-platform/ee-minimal-rhel9 | Not specified | CVE List |
| ansible-automation-platform-tech-preview/ee-minimal-rhel8 | Not specified | CVE List |
| ansible-automation-platform-tech-preview/ee-minimal-rhel9 | Not specified | CVE List |
| openshift5/ose-ansible-rhel9-operator | Not specified | CVE List |
| ansible-automation-platform/bootc-automation-portal-rhel9 | Not specified | CVE List |
| stf/service-telemetry-rhel9-operator | Not specified | CVE List |
| stf/smart-gateway-rhel9-operator | Not specified | CVE List |
| ansible-core (PyPI) | before 2.16.19rc1, from 2.17.0b1 before 2.18.18rc1, from 2.19.0b1 before 2.19.11rc1, from 2.20.0b1 before 2.20.7rc1, from 2.21.0b1 before 2.21.1rc1 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| redhat | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| redhat-SADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-11332 changed 2026-11-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w8p5-mx5w-cpqj changed 2026-07-23 | CC-BY-4.0 |
| NVD | CVE-2026-11332 changed 2026-11-26 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3458 changed 2026-07-23 | CC-BY-4.0 |