Advisory

GHSA-99w6-3xph-cx78

Also known as: CVE-2024-11079, PYSEC-2026-1123

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

Low Basis: The source's own band: LOW

Dates

Published
2024-11-12 00:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

ansible-core

PyPI · All systems

Affected

  • introduced 2.18.0b1, fixed 2.18.1rc1 (ecosystem)

Fixed versions

2.18.1rc1

Fix

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

ansible-core

PyPI · All systems

Affected

  • introduced 2.17.0b1, fixed 2.17.7rc1 (ecosystem)

Fixed versions

2.17.7rc1

Fix

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

ansible-core

PyPI · All systems

Affected

  • introduced 0, fixed 2.16.14rc1 (ecosystem)

Fixed versions

2.16.14rc1

Fix

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

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences