Read the docs

Sensitive values printed in ansible-core warnings despite no_log

Priority LOW 24CWE-532Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00161 2nd percentileScored 2026-11-30
Fix Fixed ansible-core (Red Hat): 2.22.0

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

VendorProductAffected versionsFixed inStatusSource
Red Hatansible-core2.19.0 to before 2.22.02.22.0Patch availableCNA
  • ansible-core VendorRed Hat Affected 2.19.0 to before 2.22.0 Fixed in 2.22.0 Patch available CNA

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

  1. 2026-11-18 Threatist record created from CVE-2026-115622
  2. 2026-11-18 Alias added: GHSA-qhwm-cr24-jj87
  3. 2026-11-23 CISA SSVC decision points changed

References

  • 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
See all 7600 →

Sources