GHSA-99w6-3xph-cx78
Ansible-Core vulnerable to content protections bypass
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | ansible-core | >= 2.18.0b1, < 2.18.1rc1 | 2.18.1rc1 |
| PyPI | ansible-core | >= 2.17.0b1, < 2.17.7rc1 | 2.17.7rc1 |
| PyPI | ansible-core | < 2.16.14rc1 | 2.16.14rc1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-11079
- https://github.com/ansible/ansible/pull/84299
- https://github.com/ansible/ansible/pull/84339
- https://github.com/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce
- https://github.com/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510
- https://github.com/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e
- https://access.redhat.com/errata/RHSA-2024:10770
- https://access.redhat.com/errata/RHSA-2024:11145
- https://access.redhat.com/security/cve/CVE-2024-11079
- https://bugzilla.redhat.com/show_bug.cgi?id=2325171
- https://github.com/ansible/ansible
- https://github.com/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes
- https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html