VDB
Sign up
MEDIUM5.5

PYSEC-2026-1123

Ansible-Core vulnerable to content protections bypass

Quick fix

PYSEC-2026-1123 — ansible-core: upgrade to the fixed version with the command below.

pip install --upgrade 'ansible-core>=2.16.14rc1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ansible-core
Introduced in: 0Fixed in: 2.16.14rc1
Fixpip install --upgrade 'ansible-core>=2.16.14rc1'

References