CVE-2026-123037
Last modified
CVE-2026-123037 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. 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().
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2 | All versions |
| Red Hat | Red Hat Ansible Automation Platform Ansible Core 2 | All versions |
| Red Hat | Self-service automation portal 2 | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-123037?
How severe is CVE-2026-123037?
How do I fix CVE-2026-123037?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-123028A vulnerability was identified in itsourcecode Online Book S…7.3
- CVE-2026-123029Wowza Streaming Engine before 4.12.2 processes XML external …7.5
- CVE-2026-12303Information disclosure due to incorrect boundary conditions …4.3
- CVE-2026-123032A security flaw has been discovered in OpenBMB Internet of A…7.3
- CVE-2026-123033Authentication bypass in the HA heartbeat origin check in mi…8.3
- CVE-2026-123036A flaw was found in ansible-core. When a task marked `no_log…5.5
- CVE-2026-12304Same-origin policy bypass in the Networking: Cookies compone…9.1
- CVE-2026-123047In Eclipse BaSyx Helm Charts versions 3.0.0-rc.1 to 3.12.1 o…7.5
- CVE-2026-12305Memory safety bug fixed in Thunderbird 152. This vulnerabili…7.5
- CVE-2026-123059In Eclipse BaSyx Helm Charts version 2.2.0 of the `aas-basyx…7.5
- CVE-2026-12306Memory safety bug fixed in Thunderbird 152. This vulnerabili…5.3
- CVE-2026-12307Memory safety bug fixed in Thunderbird 152. This vulnerabili…5.3
Are you affected by CVE-2026-123037?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
