A flaw was found in ansible-core. When a task or its parameters are marked no_log: true,...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Red Hatansible-core |
≥ 2.19.0, < 2.22.0→ 2.22.0 |
2.22.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115622 ansible-core No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-115622 ansible-core, ansible No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web secalert@redhat.com
- web nvd.nist.gov
- web github.com