Skip to content
Fencer Vulns
medium 5.5

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

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-rhel9
    affected: 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 more
    fixed: 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.el9ap
    fixed: 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-core
    not 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

Sources

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.