Skip to main content
No exploitation reportedFix available

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?

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
  1. 2024-11-1123:32CVE publishedCNA

Versions per branch

OSV
ansible-core
BranchAffectedFixed in
2.18≥ 2.18.0b1, < 2.18.1rc12.18.1rc1
2.17≥ 2.17.0b1, < 2.17.7rc12.17.7rc1
2.16< 2.16.14rc12.16.14rc1

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.

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

  • CVE-2024-11079 Red Hat Product Security49 products fixed · 2 known affected

    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)

Full record on NVD

Fix

  1. Update ansible-core to 2.18.1rc1 · 2.17.7rc1 · 2.16.14rc1
  2. Vendor fix Red Hat Product Security CVE-2024-11079 · 12 productsRed Hat Ansible Automation Platform
  3. Vendor fix Red Hat Product Security CVE-2024-11079 · 45 productsRed Hat Ansible Automation Platform Execution Environments
  4. 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 …
  5. No fix available, says the vendor Red Hat Product Security CVE-2024-11079 · 1 productFix deferred
  6. 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
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2024-11079 actively exploited?

Active exploitation of CVE-2024-11079 has not been confirmed. Its EPSS score was 0.5% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-11079?

CVE-2024-11079 has a CVSS v3 base score of 5.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L.

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

Sources for this record