Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-123036

MEDIUM 5.5EPSS 2%

A flaw was found in ansible-core. When a task marked `no_log: true` fails, the task result is censored before being emi…

Mitigation

  • Upgrade ansible-core to 2.23.0 or later.

Who should check

  • Anyone running Red Hat ansible-core >= 2.19.0, < 2.23.0

Vulnerability facts

Affected
Red Hat ansible-core >= 2.19.0, < 2.23.0
Fixed in
Red Hat ansible-core 2.23.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.15% chance of exploitation in 30 days (percentile 2, 2026-11-26)
CWE
CWE-209
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Red Hat ansible-core>= 2.19.0, < 2.23.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-123036. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123036.md
Affected: Red Hat ansible-core >= 2.19.0, < 2.23.0
Fixed in: Red Hat ansible-core 2.23.0

Steps:
1. Search this machine and project for Red Hat ansible-core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-123036 being exploited?

There is no confirmed exploitation: CVE-2026-123036 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-123036?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-123036?

Red Hat ansible-core >= 2.19.0, < 2.23.0.

Is there a fix for CVE-2026-123036?

Yes. Fixed in Red Hat ansible-core 2.23.0. Upgrade ansible-core to 2.23.0 or later.

How do I check if I'm affected by CVE-2026-123036?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors