CVE-2026-123037 A flaw was found in the ansible-core user module.
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-123037?
CVE-2026-123037 is a medium-severity vulnerability in Red Hat Migration Toolkit for Applications 8, published on 6 Nov 2026.
Official description
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.
Weakness: CWE-59
Which versions are affected by CVE-2026-123037?
How do I fix CVE-2026-123037?
No fix has been published for CVE-2026-123037 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-123037 being exploited?
There is no known exploitation of CVE-2026-123037 in the wild and no public exploit code.
Sources
Also known as AZL-113113, DEBIAN-CVE-2026-123037, ECHO-c3a5-5f6a-71f1, GHSA-cvj4-ggf5-jg54, UBUNTU-CVE-2026-123037.