CVE-2026-115622

No-redaction of Sensitive Values in Ansible when no_log:true on Warning or Deprecation Calls

Published Nov 18, 2026 CVSS 3.1 · 5.5 Medium EPSS n/a KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat ansible Core
Vendors & Products Redhat
Redhat ansible Core
Type Values Removed Values Added
Title No-redaction of Sensitive Values in Ansible when no_log:true on Warning or Deprecation Calls
Type Values Removed Values Added
Description 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.
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 18, 2026, 7:10 PM
Reserved
Oct 23, 2026, 1:18 AM
Status
Awaiting Analysis
Published
Nov 18, 2026, 7:17 PM
Modified
Nov 18, 2026, 7:17 PM