Security Flaw in Ansible-Core User Module Exposed to Privilege Escalation
Key Information:
- Vendor
Red Hat
- Status
- CVE ID
- CVE ID:
- CVE-2026-123037
- Vendor
- CVE Published:
- 6 November 2026
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
2Why it's rated "Monitor"
- Its CVSS severity is medium (6.7).
What is CVE-2026-123037?
A flaw in the Ansible-Core user module can lead to potential privilege escalation. When the generate_ssh_key feature is active, the User.ssh_key_gen() function attempts to safeguard key files against symlink attacks. However, it only checks the ~/.ssh directory using os.path.exists(), which can be exploited by an unprivileged user on a managed node. By replacing their ~/.ssh directory with a symlink to a root-writable directory, these users can have the privileged module generate and write SSH key pairs through the symlink. This attack can enable unauthorized file drops into system directories processed by schedulers or the dynamic Message of the Day (MOTD), potentially granting the attacker root access on the managed node.
References
More Red Hat Vulnerabilities
Arbitrary Command Execution Vulnerability in Ghostscript Software
Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool
Time-based sudo vulnerability in Sudo
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction