# CVE-2024-11079: Ansible-core: unsafe tagging bypass via hostvars object in ansible-core

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-11-11T23:32:55.539Z
- Modified: 2026-11-24T04:17:18.593Z
- Also known as: GHSA-99w6-3xph-cx78, PYSEC-2026-1123
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- ansible-core: up to 2.18.0 (not affected: from 1:2.16.14-1.el8ap before *; from 1:2.16.14-1.el9ap before *)
- ansible-automation-platform/ansible-builder-rhel8: no versions given (not affected: from 1.2.0-93 before *)
- ansible-automation-platform/ansible-builder-rhel9: no versions given (not affected: from 3.0.1-108 before *)
- ansible-automation-platform/ee-29-rhel8: no versions given (not affected: from 2.9.27-34 before *)
- ansible-automation-platform/ee-minimal-rhel8: no versions given (not affected: from 2.12.10-56 before *)
- ansible-automation-platform/ee-minimal-rhel9: no versions given (not affected: from 2.15.13-4 before *)
- rhelai1/bootc-azure-nvidia-rhel9: no versions given
- rhelai1/bootc-nvidia-rhel9: no versions given
- ansible-core (PyPI): from 2.18.0b1 before 2.18.1rc1; from 2.17.0b1 before 2.17.7rc1; before 2.16.14rc1

## Every score

- redhat: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.5 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P`

## References

- <https://access.redhat.com/errata/RHSA-2024:10770> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:11145> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-11079> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2325171> (issue-tracking, web)
- <https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-11079> (advisory)
- <https://github.com/ansible/ansible/pull/84299> (web)
- <https://github.com/ansible/ansible/pull/84339> (web)
- <https://github.com/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce> (web)
- <https://github.com/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510> (web)
- <https://github.com/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e> (web)
- <https://github.com/ansible/ansible> (package)
- <https://github.com/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes> (web)
- <https://pypi.org/project/ansible-core> (package)
- <https://github.com/advisories/GHSA-99w6-3xph-cx78> (advisory)

## Sources

- CVE List: [CVE-2024-11079](https://www.cve.org/CVERecord?id=CVE-2024-11079), CVE Terms of Use, modified 2026-11-24
- GitHub Advisory Database: [GHSA-99w6-3xph-cx78](https://github.com/advisories/GHSA-99w6-3xph-cx78), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-11079](https://nvd.nist.gov/vuln/detail/CVE-2024-11079), Public domain, modified 2026-11-24
- PyPA Advisory Database: [PYSEC-2026-1123](https://osv.dev/vulnerability/PYSEC-2026-1123), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-11079 · Whole record: https://cve.day/CVE-2024-11079.json · Rebuilt by cve.day 2026-11-25T22:58:48.053Z
