Advisory

PYSEC-2026-1123

Also known as: CVE-2024-11079, GHSA-99w6-3xph-cx78

Summary

Ansible-Core vulnerable to content protections bypass

Details

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

ansible-core

PyPI · All systems

Affected

  • introduced 0, fixed 2.16.14rc1, introduced 2.17.0b1, fixed 2.17.7rc1, introduced 2.18.0b1, fixed 2.18.1rc1 (ecosystem)

Fixed versions

2.16.14rc1, 2.17.7rc1, 2.18.1rc1

Fix

  • Fixed version 2.16.14rc1
    pip install --upgrade ansible-core==2.16.14rc1
  • Fixed version 2.17.7rc1
    pip install --upgrade ansible-core==2.17.7rc1
  • Fixed version 2.18.1rc1
    pip install --upgrade ansible-core==2.18.1rc1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences