Security Flaw in Ansible-Core User Module Exposed to Privilege Escalation

MonitorFull system takeover with local access.
6.7MEDIUM

Key Information:

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

Arbitrary Command Execution Vulnerability in Ghostscript Software

CVE-2026-101258
Red HatRed Hat Enterprise Lin...7.8HIGH

Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool

CVE-2026-96889
Red HatRed Hat Enterprise Lin...πŸ˜„πŸ‘Ύ7.8HIGH

Time-based sudo vulnerability in Sudo

CVE-2026-96512
Red HatRed Hat Enterprise Lin...7.8HIGH
View more Red Hat vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
6.7
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
Required
Scope:
Unchanged
.