Sensitive values printed in ansible-core warnings despite no_log
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-532.
Summary
Ansible-core from 2.19.0 before 2.22.0 prints sensitive values to stdout and stderr when a task is marked no_log: true. Values passed to a module's warn() or deprecate() calls are not redacted, because the warnings and deprecations keys are kept when the task result is censored (CWE-532). A local user who can read terminal sessions, CI logs or automation output can recover secrets that the no_log setting was meant to hide.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat ansible-core is fixed in version 2.22.0, so upgrade to that version or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA ansible-core (Red Hat) Fixed in 2.22.0
Timeline
- 2026-11-18 Threatist record created from CVE-2026-115622
- 2026-11-18 Alias added: GHSA-qhwm-cr24-jj87
- 2026-11-23 CISA SSVC decision points changed
References
More Red Hat vulnerabilities
- TI-2019-15875 Sandbox bypass in Jenkins Pipeline: Groovy Plugin runs code KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Sandbox bypass in Jenkins Script Security Plugin allows code execution KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Arbitrary code execution in Kibana Timelion visualizer KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in OpenSLP in VMware ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-115622 · CVE Program
- CVE-2026-115622 · NVD
- FIRST EPSS
- GHSA-qhwm-cr24-jj87 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences