{"id":"CVE-2024-11079","title":"A flaw was found in Ansible-Core","summary":"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 da…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","cwe":["CWE-20"],"published":"2024-11-12","updated":"2026-06-25","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-11079","references":[{"url":"https://access.redhat.com/errata/RHSA-2024:10770","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2024:11145","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2024-11079","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2325171","label":"secalert@redhat.com"},{"url":"https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11079"},{"url":"https://github.com/ansible/ansible/pull/84299"},{"url":"https://github.com/ansible/ansible/pull/84339"},{"url":"https://github.com/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce"},{"url":"https://github.com/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510"},{"url":"https://github.com/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e"},{"url":"https://github.com/ansible/ansible"},{"url":"https://github.com/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes"}],"tags":["nvd","osv","pip"],"epss":0.00499,"epssPercentile":0.41612,"ingestedAt":"2026-06-29T13:24:33.970Z","aliases":["GHSA-99w6-3xph-cx78","PYSEC-2026-1123"],"ecosystem":"pip","vendor":"ansible-core","product":"ansible-core","affected":["ansible-core >= 2.18.0b1, < 2.18.1rc1","ansible-core >= 2.17.0b1, < 2.17.7rc1","ansible-core < 2.16.14rc1"],"patched":["ansible-core 2.18.1rc1","ansible-core 2.17.7rc1","ansible-core 2.16.14rc1"],"slug":"CVE-2024-11079","body":"## Overview\n\nA 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2024-11079)\n\nAffected packages:\n\n- `ansible-core >= 2.18.0b1, < 2.18.1rc1`\n- `ansible-core >= 2.17.0b1, < 2.17.7rc1`\n- `ansible-core < 2.16.14rc1`\n\nPatched in:\n\n- `ansible-core 2.18.1rc1`\n- `ansible-core 2.17.7rc1`\n- `ansible-core 2.16.14rc1`\n\nSource: https://osv.dev/vulnerability/GHSA-99w6-3xph-cx78","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}