CVE-2024-11079 json
Ansible-core: unsafe tagging bypass via hostvars object in ansible-core
published 2024-11-11 23 mo ago modified 2026-11-05 3 d ago also GHSA-99w6-3xph-cx78 , PYSEC-2026-1123 , EUVD-2024-3228
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
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 data or module outputs are improperly templated within playbooks.
Patch / fix
- pypi ansible-core 2.16.14rc1, 2.17.7rc1, 2.18.1rc1
- Red Hat Ansible Automation Platform Execution Environments 1.2.0-93, 2.9.27-34, 2.12.10-56, 2.15.13-4, 3.0.1-108
- Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 1:2.16.14-1.el8ap
- Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 1:2.16.14-1.el9ap
- ansible Debian 14, Debian 13, Debian 12 5.4.0-1
- ansible-core Debian 12 2.14.18-0+deb12u1
- ansible-core Debian 14, Debian 13 2.18.0-2
debian advisories DEBIAN-CVE-2024-11079
- ansible-core ansible automation platform inside 2.5, ansible automation platform developer 2.5, ansible automation platform 2.5 1:2.16.14-1.el8ap
- ansible-core ansible automation platform inside 2.5, ansible automation platform developer 2.5, ansible automation platform 2.5 1:2.16.14-1.el9ap
- automation-gateway-server ansible automation platform 2.5 2.5.20241218-1.el8ap
- automation-gateway-server ansible automation platform 2.5 2.5.20241218-1.el9ap
red hat advisories RHSA-2024:11145
- ansible-core-2.21 openSUSE Tumbleweed 2.21.6-1.1
- ansible-core-2.20 openSUSE Tumbleweed 2.20.6-1.1
- ansible-core-2.19 openSUSE Tumbleweed 2.19.4-1.1
- ansible-core-2.18 openSUSE Tumbleweed 2.18.10-2.1
- ansible-core openSUSE Tumbleweed 2.18.1-1.1
- ansible-core-2.16 openSUSE Tumbleweed 2.16.14-1.1
- ansible-core-2.17 openSUSE Tumbleweed 2.17.7-1.1
opensuse advisories openSUSE-SU-2026:12451-1openSUSE-SU-2026:10945-1openSUSE-SU-2025:15754-1openSUSE-SU-2025:15638-1openSUSE-SU-2024:14545-1openSUSE-SU-2024:14546-1
- github.com/ansible/ansible@2936b80 commit
- github.com/ansible/ansible@70e83e7 commit
- github.com/ansible/ansible@98774d1 commit
- github.com/ansible/ansible#84299 pull request
- github.com/ansible/ansible#84339 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-11079 updated cvss 5.5
ansible-core: Unsafe Tagging Bypass via hostvars Object in Ansible-Core
-
Red Hat Enterprise Linux AI (RHEL AI) bootc-nvidia-rhel9, bootc-azure-nvidia-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform Execution Environments ansible-automation-platform/ee-29-rhel8 2.9.27-34, ansible-automation-platform/ee-minimal-rhel8 2.17.7-1, ansible-automation-platform/ee-minimal-rhel8 2.18.1-1, ansible-automation-platform/ee-minimal-rhel9 2.17.7-2, ansible-automation-platform/ee-minimal-rhel9 2.18.1-2, ansible-automation-platform/ee-minimal-rhel8 2.15.13-3, +9 morefixed: vendor fix RHSA-2024:10770
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-core 2.16.14-1.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-core 2.16.14-1.el9apfixed: vendor fix RHSA-2024:11145
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-test 2.16.14-1.el8ap, ansible-rulebook 1.1.2-1.el8ap, aap-metrics-utility 0.4.1-2.el8ap, python3.11-validators 0.34.0-1.el8ap, python3.11-django-flags 5.0.13-1.el8ap, automation-eda-controller 1.1.3-1.el8ap, +17 more Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-test 2.16.14-1.el9ap, ansible-rulebook 1.1.2-1.el9ap, aap-metrics-utility 0.4.1-2.el9ap, python3.11-validators 0.34.0-1.el9ap, python3.11-django-flags 5.0.13-1.el9ap, automation-eda-controller 1.1.3-1.el9ap, +17 more Red Hat Enterprise Linux 10 ansible-corenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ansible-core | >=2.18.0b1, <2.18.1rc1 >=2.17.0b1, <2.17.7rc1 <2.16.14rc1 |
2.18.1rc1 2.17.7rc1 2.16.14rc1 |
Affected products
- Red Hat Ansible Automation Platform Execution Environments
- Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8
- Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux AI (RHEL AI)
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/ansible/ansible/pull/84299
web
-
github.com
/ansible/ansible/pull/84339
web
-
github.com
/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce
web
-
github.com
/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510
web
-
github.com
/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e
web
-
access.redhat.com
/errata/RHSA-2024:10770
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:11145
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2024-11079
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2325171
issue-tracking, web
-
lists.debian.org
/debian-lts-announce/2026/03/msg00006.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-11079
advisory
-
github.com
/ansible/ansible
package
-
github.com
/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes
web
-
pypi.org
/project/ansible-core
package
-
github.com
/advisories/GHSA-99w6-3xph-cx78
advisory
Sources
- CVE List CVE-2024-11079
- GitHub Advisory GHSA-99w6-3xph-cx78
- NVD CVE-2024-11079
- OSV PYSEC-2026-1123
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.