NetSight
medium5.5

CVE-2026-115622

A flaw was found in ansible-core. When a task or its parameters are marked no_log: true,...

Impact

A flaw was found in ansible-core. When a task or its parameters are marked no_log: true, sensitive values passed to a module's warn() or deprecate() calls are not redacted and are printed in cleartext to stdout/stderr in warning and deprecation messages. The 'warnings' and 'deprecations' keys are retained in the PRESERVE allow-list in lib/ansible/_internal/_task.py when the task result is censored, so sensitive parameters bypass masking and can be disclosed in output captured in terminal sessions, CI logs, and any automation wrapping ansible-playbook, even though every task touching the secrets is marked no_log: true.

An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.

Affected products · Red Hat

ProductAffected versions
Ansible-core
from 2.19.0 before 2.22.0

Weakness classification

References