Ansible-core: unsafe tagging bypass via hostvars object in ansible-core
ansible-core · Red Hat Ansible Automation Platform Execution Environments · Red Hat Ansible Automation Platform 2.5 for RHEL 8 · Red Hat Ansible Automation Platform 2.5 for RHEL 9
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ansible-core PyPI |
|
|
Original 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.