CVE-2024-11079
Ansible-core: unsafe tagging bypass via hostvars object in ansible-core
No exploitation reported by the sources we read.
- Published2024-11-12
- Fixed in2.18.1rc1 · 2.17.7rc1 · 2.16.14rc1
- WeaknessCWE-20
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-11-1123:32CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.18 | ≥ 2.18.0b1, < 2.18.1rc1 | 2.18.1rc1 | OSV |
| 2.17 | ≥ 2.17.0b1, < 2.17.7rc1 | 2.17.7rc1 | OSV |
| 2.16 | < 2.16.14rc1 | 2.16.14rc1 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA11 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- ansible-coreother versions: not affected
https://github.com/ansible/ansible
Affected- ≤ 2.18.0no fix statedsemver
- Red Hat Ansible Automation Platform Execution Environmentsother versions: affected
package ansible-automation-platform/ansible-builder-rhel8https://catalog.redhat.com/software/containers/
Not affected ≥ 1.2.0-93
- Red Hat Ansible Automation Platform Execution Environmentsother versions: affected
package ansible-automation-platform/ansible-builder-rhel9https://catalog.redhat.com/software/containers/
Not affected ≥ 3.0.1-108
- Red Hat Ansible Automation Platform Execution Environmentsother versions: affected
package ansible-automation-platform/ee-29-rhel8https://catalog.redhat.com/software/containers/
Not affected ≥ 2.9.27-34
- Red Hat Ansible Automation Platform Execution Environmentsother versions: affected
package ansible-automation-platform/ee-minimal-rhel8https://catalog.redhat.com/software/containers/
Not affected ≥ 2.12.10-56
- Red Hat Ansible Automation Platform Execution Environmentsother versions: affected
package ansible-automation-platform/ee-minimal-rhel9https://catalog.redhat.com/software/containers/
Not affected ≥ 2.15.13-4
5 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-05
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ansibleUbuntu:Pro:22.04:LTSall versions · no fixed version listed
- ansibleUbuntu:Pro:20.04:LTSall versions · no fixed version listed
- ansibleUbuntu:Pro:18.04:LTSall versions · no fixed version listed
- ansibleUbuntu:Pro:16.04:LTSall versions · no fixed version listed
- ansibleUbuntu:Pro:14.04:LTSall versions · no fixed version listed
- ansibleUbuntu:26.10all versions · no fixed version listedand 1 other package
- ansibleUbuntu:26.04:LTSall versions · no fixed version listedand 1 other package
- ansibleUbuntu:25.10all versions · no fixed version listedand 1 other package
28 more package ranges on OSV.dev
Vendor advisories
ansible-core: Unsafe Tagging Bypass via hostvars Object in Ansible-Core
rhelai1/bootc-azure-nvidia-rhel9.src as a component of Red Hat Enterprise Linux AI (RHEL AI) · rhelai1/bootc-nvidia-rhel9.src as a component of Red Hat Enterprise Linux AI (RHEL AI)
Fix
- Update ansible-core to 2.18.1rc1 · 2.17.7rc1 · 2.16.14rc1
- Vendor fix Red Hat Product Security CVE-2024-11079 · 12 productsRed Hat Ansible Automation Platform
- Vendor fix Red Hat Product Security CVE-2024-11079 · 45 productsRed Hat Ansible Automation Platform Execution Environments
- Workaround from the vendor Red Hat Product Security CVE-2024-11079 · 59 productsTo mitigate this vulnerability, avoid using the hostvars object to reference content marked as !unsafe. Ensure that all remote data from modules or lookups is properly sanitized and validated before use in playbooks. Additionally, restrict access to inventory files and Ansible playbooks to trusted …
- No fix available, says the vendor Red Hat Product Security CVE-2024-11079 · 1 productFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2024-11079 · 1 productWill not fix
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-05
- CISA-ADPSSVC decisionnone2024-11-12
- CNACVSS 3.15.52026-11-05
- CNAweakness (CWE)CWE-202026-11-05
- FIRST EPSSEPSS score0.5 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryLOW2024-11-12
Identifiers
- CGA-2rfp-gjf3-r7r4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-443v-4m35-353xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6m25-fr9f-8chcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-ch99-vjp6-qgwwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fw9g-xjvp-2hv3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gh43-c4xg-q585same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hqr8-52gw-7fj6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j96x-943r-4jv5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-v26v-jh33-7j43same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vj9v-cpg3-g286same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-3228same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-99w6-3xph-cx78same flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2026-1123same flawPyPA Advisory Database · CC-BY-4.0
- DLA-4502-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0052advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2024:14545-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14546-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14547-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15638-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15754-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10945-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:12451-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:11145advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
- Published
- 2024-11-12
- Last Modified
- 2026-11-05
- NVD status
- Deferred
- GitHub Advisory
- GHSA-99w6-3xph-cx78
Frequently asked questions
What is CVE-2024-11079?
Is CVE-2024-11079 actively exploited?
What is the CVSS score for CVE-2024-11079?
Running ansible-core? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-99w6-3xph-cx78
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0