Ansible-core: unsafe tagging bypass via hostvars object in ansible-core (ansible-core)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.53 % · percentile 45 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
Description
A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L | redhat |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-99w6-3xph-cx78 — Ansible-Core vulnerable to content protections bypass
- PYSEC-2026-1123 — Ansible-Core vulnerable to content protections bypass
European references
- ENISA EUVD · EUVD-2024-3228
- GCVE · GCVE-0-2024-11079
CERT-FR advisories
- CERTFR-2026-AVI-0667 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0627 — Multiples vulnérabilités dans les produits Splunk · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| ansible-core | affected 0 ≤ 2.18.0 |
| Red Hat · Ansible Automation Platform Execution Environments | unaffected 1.2.0-93 < * |
| Red Hat · Ansible Automation Platform Execution Environments | unaffected 3.0.1-108 < * |
| Red Hat · Ansible Automation Platform Execution Environments | unaffected 2.9.27-34 < * |
| Red Hat · Ansible Automation Platform Execution Environments | unaffected 2.12.10-56 < * |
| Red Hat · Ansible Automation Platform Execution Environments | unaffected 2.15.13-4 < * |
| Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8 | unaffected 1:2.16.14-1.el8ap < * |
| Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9 | unaffected 1:2.16.14-1.el9ap < * |
| Red Hat · Red Hat Enterprise Linux 10 | |
| Red Hat · Red Hat Enterprise Linux AI (RHEL AI) | |
| Red Hat · Red Hat Enterprise Linux AI (RHEL AI) |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |