CVE-2026-123036
Last modified
CVE-2026-123036 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | ansible-core | >= 2.19.0, < 2.23.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-123036?
How severe is CVE-2026-123036?
How do I fix CVE-2026-123036?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-123025An OS Command Injection vulnerability was discovered in the …9.4
- CVE-2026-123028A vulnerability was identified in itsourcecode Online Book S…7.3
- CVE-2026-123029Wowza Streaming Engine before 4.12.2 processes XML external …7.5
- CVE-2026-12303Information disclosure due to incorrect boundary conditions …4.3
- CVE-2026-123032A security flaw has been discovered in OpenBMB Internet of A…7.3
- CVE-2026-123033Authentication bypass in the HA heartbeat origin check in mi…8.3
- CVE-2026-12304Same-origin policy bypass in the Networking: Cookies compone…9.1
- CVE-2026-123047In Eclipse BaSyx Helm Charts versions 3.0.0-rc.1 to 3.12.1 o…7.5
- CVE-2026-12305Memory safety bug fixed in Thunderbird 152. This vulnerabili…7.5
- CVE-2026-123059In Eclipse BaSyx Helm Charts version 2.2.0 of the `aas-basyx…7.5
- CVE-2026-12306Memory safety bug fixed in Thunderbird 152. This vulnerabili…5.3
- CVE-2026-12307Memory safety bug fixed in Thunderbird 152. This vulnerabili…5.3
Are you affected by CVE-2026-123036?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
