CVE-2026-123037

Medium severity Published November 6, 2026 · updated November 24, 2026

What it is

A flaw was found in the ansible-core user module. When generate_ssh_key is enabled, User.ssh_key_gen() guards the key files against symlinks but checks the ~/.ssh directory only with os.path.exists(). An unprivileged user on a managed node who replaces their ~/.ssh with a symlink to an existing root-writable directory causes the privileged module to write the generated key pair through the symlink and then chown both files to that user. Because such files can be dropped into directories processed by schedulers (e.g. /etc/cron.daily) or dynamic MOTD (/etc/update-motd.d), the user can escalate to root on the managed node. This is an incomplete fix of CVE-2024-9902.

Chance of being attacked in the next 30 days: 0.1 % (EPSS).

What it affects, and the version that fixes it

  • Red Hat Enterprise Linux No fixed version listed yet.
  • Red Hat Migration Toolkit for Applications 8 No fixed version listed yet.
  • Red Hat Migration Toolkit For Virtualization No fixed version listed yet.
  • Red Hat OpenShift Service Mesh 3 No fixed version listed yet.
  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 No fixed version listed yet.
  • Red Hat Red Hat Ansible Automation Platform 2 No fixed version listed yet.
  • Red Hat Red Hat Ansible Automation Platform Ansible Core 2 No fixed version listed yet.
  • Red Hat Red Hat Discovery 2 No fixed version listed yet.
  • Red Hat Red Hat OpenShift Container Platform 4 No fixed version listed yet.
  • Red Hat Red Hat OpenShift Container Platform 5 No fixed version listed yet.
  • Red Hat Red Hat Satellite 6 No fixed version listed yet.
  • Red Hat Self-service automation portal 2 No fixed version listed yet.
  • Red Hat Service Telemetry Framework 1.5 No fixed version listed yet.

The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.

The official record (NVD) · CVE.org