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() c...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSansible |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSansible |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSansible |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSansible |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSansible-core |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSansible |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSansible |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSansible-core |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10ansible |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10ansible-core |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSansible |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSansible-core |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
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: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org