Ansible-core: argument injection in ansible-galaxy role install leads to arbitrary code execution
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.16.19rc1, 2.18.18rc1, 2.19.11rc1, 2.20.7rc1, 2.21.1rc1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- pulpcore-obsolete-packages
Version range not reported
- python3.12-pulpcore
Version range not reported
- ansible-core
Version range not reported
- ansible-automation-platform-25/ee-minimal-rhel8
Version range not reported
- ansible-automation-platform-25/ee-supported-rhel8
Version range not reported
- ansible-automation-platform-25/lightspeed-rhel8
Version range not reported
- ansible-automation-platform-25/ee-minimal-rhel9
Version range not reported
- ansible-automation-platform-25/ee-supported-rhel9
Version range not reported
- ansible-automation-platform-26/de-minimal-rhel9
Version range not reported
- ansible-automation-platform-26/de-supported-rhel9
Version range not reported
- ansible-automation-platform-26/eda-controller-rhel9
Version range not reported
- ansible-automation-platform-26/lightspeed-rhel9
Version range not reported
- ansible-automation-platform-27/de-minimal-rhel9
Version range not reported
- ansible-automation-platform-27/de-supported-rhel9
Version range not reported
- ansible-automation-platform-27/eda-controller-rhel9
Version range not reported
- ansible-automation-platform-27/lightspeed-rhel9
Version range not reported
- ansible-automation-platform-27/platform-resource-rhel9-operator
Version range not reported
- discovery/discovery-server-rhel9
Version range not reported
- openshift4/ose-ansible-rhel9-operator
Version range not reported
- mta/mta-rhel9-operator
Version range not reported
- migration-toolkit-virtualization/mtv-rhel9-operator
Version range not reported
- mtv-candidate/mtv-rhel9-operator
Version range not reported
- openshift-service-mesh/kiali-rhel9-operator
Version range not reported
- rhacm2/volsync-operator-bundle
Version range not reported
- rhacm2/volsync-rhel9
Version range not reported
- ansible-automation-platform-24/hub-rhel8
Version range not reported
- ansible-automation-platform-24/lightspeed-rhel8
Version range not reported
- ansible-automation-platform-25/controller-rhel8-operator
Version range not reported
- ansible-automation-platform-25/de-minimal-rhel8
Version range not reported
- ansible-automation-platform-25/de-supported-rhel8
Version range not reported
- ansible-automation-platform-25/eda-controller-rhel8
Version range not reported
- ansible-automation-platform-25/eda-controller-rhel8-operator
Version range not reported
- ansible-automation-platform-25/gateway-rhel8-operator
Version range not reported
- ansible-automation-platform-25/hub-rhel8
Version range not reported
- ansible-automation-platform-25/hub-rhel8-operator
Version range not reported
- ansible-automation-platform-25/lightspeed-rhel8-operator
Version range not reported
- ansible-automation-platform-25/platform-resource-rhel8-operator
Version range not reported
- ansible-automation-platform-25/platform-resource-runner-rhel8
Version range not reported
- ansible-automation-platform-26/controller-rhel9-operator
Version range not reported
- ansible-automation-platform-26/eda-controller-rhel9-operator
Version range not reported
- ansible-automation-platform-26/ee-minimal-rhel9
Version range not reported
- ansible-automation-platform-26/ee-supported-rhel9
Version range not reported
- ansible-automation-platform-26/gateway-rhel9-operator
Version range not reported
- ansible-automation-platform-26/hub-rhel9
Version range not reported
- ansible-automation-platform-26/hub-rhel9-operator
Version range not reported
- ansible-automation-platform-26/lightspeed-rhel9-operator
Version range not reported
- ansible-automation-platform-26/platform-resource-rhel9-operator
Version range not reported
- ansible-automation-platform-26/platform-resource-runner-rhel9
Version range not reported
- ansible-automation-platform-27/aap-cloud-billing-operator-rhel9
Version range not reported
- ansible-automation-platform-27/controller-rhel9-operator
Version range not reported
- ansible-automation-platform-27/eda-controller-rhel9-operator
Version range not reported
- ansible-automation-platform-27/ee-minimal-rhel9
Version range not reported
- ansible-automation-platform-27/ee-supported-rhel9
Version range not reported
- ansible-automation-platform-27/gateway-rhel9-operator
Version range not reported
- ansible-automation-platform-27/hub-rhel9
Version range not reported
- ansible-automation-platform-27/hub-rhel9-operator
Version range not reported
- ansible-automation-platform-27/lightspeed-rhel9-operator
Version range not reported
- ansible-automation-platform-27/metrics-service-rhel9-operator
Version range not reported
- ansible-automation-platform-27/platform-resource-runner-rhel9
Version range not reported
- ansible-automation-platform-tech-preview/ansible-devspaces-rhel9
Version range not reported
- ansible-automation-platform-tech-preview/metrics-service-rhel9-operator
Version range not reported
- ansible-automation-platform/ee-minimal-rhel8
Version range not reported
- ansible-automation-platform/ee-minimal-rhel9
Version range not reported
- ansible-automation-platform-tech-preview/ee-minimal-rhel8
Version range not reported
- ansible-automation-platform-tech-preview/ee-minimal-rhel9
Version range not reported
- ansible-automation-platform/bootc-automation-portal-rhel9
Version range not reported
- stf/service-telemetry-rhel9-operator
Version range not reported
- stf/smart-gateway-rhel9-operator
Version range not reported
- ansible-corePyPI
fixed in 2.16.19rc1
- ansible-corePyPI
From 2.17.0b1 · fixed in 2.18.18rc1
- ansible-corePyPI
From 2.19.0b1 · fixed in 2.19.11rc1
- ansible-corePyPI
From 2.20.0b1 · fixed in 2.20.7rc1
- ansible-corePyPI
From 2.21.0b1 · fixed in 2.21.1rc1
- ansible-corePyPI
fixed in 2.16.19rc1; From 2.17.0b1 · fixed in 2.18.18rc1; From 2.19.0b1 · fixed in 2.19.11rc1; From 2.20.0b1 · fixed in 2.20.7rc1; From 2.21.0b1 · fixed in 2.21.1rc1
References 22
access.redhat.com
- errata/RHSA-2026:42078
- errata/RHSA-2026:42079
- errata/RHSA-2026:42080
- errata/RHSA-2026:46836
- errata/RHSA-2026:50340
- errata/RHSA-2026:50344
- errata/RHSA-2026:50357
- errata/RHSA-2026:50479
- errata/RHSA-2026:57148
- errata/RHSA-2026:57149
- errata/RHSA-2026:63385
- errata/RHSA-2026:63386
- errata/RHSA-2026:63387
- errata/RHSA-2026:66248
- errata/RHSA-2026:67465
- errata/RHSA-2026:67466
- errata/RHSA-2026:67467
- errata/RHSA-2026:83703
- errata/RHSA-2026:87124
- security/cve/CVE-2026-11332