CVEfocus › CVE database › CVE-2026-123036

CVE-2026-123036

CVSS 5.5 MediumEPSS 0.2% (higher than 2% of CVEs)Published 2026-11-05Updated 2026-11-05Assigner: redhat

A flaw was found in ansible-core. When a task marked `no_log: true` fails, the task result is censored before being emitted, but the `exception` field is retained because it is present in the PRESERVE allow-list in lib/ansible/_internal/_task.py, and the default stdout callback prints it through CallbackBase._handle_exception. As a result, sensitive values the operator explicitly asked to hide can be disclosed: module argument-validation errors echo the argument value, templating errors print an Origin source snippet (the failing line plus the two preceding lines of the variables file, exposing neighbouring secrets from an -e @secrets.yml file), and fail/assert messages are printed in full. Secret material supplied as extra variables or variables files can therefore leak to terminal output, CI logs, and the stdout logs of any automation wrapping ansible-playbook, even though every task touching the secrets is marked no_log: true. This is a regression introduced with the ansible-core 2.19 data-tagging/templating rework; the behaviour does not occur on 2.16, where the error text is correctly censored.

CWE-209

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fix pending
5Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ansibleFix pendingUBUNTU-CVE-2026-123036
Ubuntu 26.10ansible-coreFix pendingUBUNTU-CVE-2026-123036
Ubuntu 26.04ansibleUnder investigationUBUNTU-CVE-2026-123036
Ubuntu 26.04ansible-coreUnder investigationUBUNTU-CVE-2026-123036
Ubuntu 24.04ansibleUnder investigationUBUNTU-CVE-2026-123036
Ubuntu 24.04ansible-coreUnder investigationUBUNTU-CVE-2026-123036
Ubuntu 22.04ansibleFix pendingUBUNTU-CVE-2026-123036
Ubuntu 22.04ansible-coreUnder investigationUBUNTU-CVE-2026-123036
Ubuntu 20.04ansibleFix pendingUBUNTU-CVE-2026-123036
Ubuntu 18.04ansibleFix pendingUBUNTU-CVE-2026-123036
Ubuntu 16.04ansibleFix pendingUBUNTU-CVE-2026-123036
Ubuntu 14.04ansibleFix pendingUBUNTU-CVE-2026-123036
Debian 14ansible-coreFix pendingDEBIAN-CVE-2026-123036
Debian 13ansible-coreFix pendingDEBIAN-CVE-2026-123036
Debian 12ansible-coreFix pendingDEBIAN-CVE-2026-123036

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.