CVE-2026-115622: Medium severity pypi/ansible-core vulnerability

Published Nov 18, 2026
·
Updated

A flaw was found in ansible-core. When a task or its parameters are marked nolog: 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 nolog: true.

Affected Software

1 affected component
pypi/ansible-core

Event History

Nov 18, 2026
CVE Published
via MITRE·07:10 PM
Data Sourced
via MITRE·07:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this disclosure?

Users of ansible-core are exposed when a task with no_log: true passes sensitive values to a module that emits them through warn() or deprecate(). The values can be captured in terminal output, CI logs, and output collected by automation around ansible-playbook.

2

Does marking every secret-handling task with no_log: true prevent this exposure?

No. Warning and deprecation messages are retained when the task result is censored, allowing sensitive parameters included in those messages to bypass masking.

3

What must an attacker or observer have to obtain the sensitive values?

They need access to output produced by the affected playbook run, such as an interactive terminal session, CI logs, or logs captured by automation invoking ansible-playbook. Exploitation does not require user interaction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203