VDB
Sign up
MEDIUM5.5

PYSEC-2026-1124

Ansible vulnerable to Insertion of Sensitive Information into Log File

Quick fix

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

pip install --upgrade 'ansible-core>=2.16.13'

Details

A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References