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.

Project Subscriptions

Vendors Products
Ansible Core Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 19 Nov 2026 14:00:00 +0000

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

Thu, 19 Nov 2026 05:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat ansible Core
Vendors & Products Redhat
Redhat ansible Core

Thu, 19 Nov 2026 02:30:00 +0000

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

Wed, 18 Nov 2026 19:15:00 +0000

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-18T19:10:17.178Z

Reserved: 2026-10-23T01:18:26.633Z

Link: CVE-2026-115622

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-18T19:17:31.493

Modified: 2026-11-18T19:17:31.613

Link: CVE-2026-115622

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-19T13:45:03Z

Weaknesses