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 ~/.
Overview
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.
- Published
- 11/6/2026
- Last modified
- 11/24/2026
- CVE assigner
- redhat
- NVD analysis
- Awaiting Analysis
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Migration Toolkit for Applications 8 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Migration Toolkit for Virtualization Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
OpenShift Service Mesh 3 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Advanced Cluster Management for Kubernetes 2 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Ansible Automation Platform 2 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Ansible Automation Platform Ansible Core 2 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Discovery 2 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 10 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 8 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 9 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat OpenShift Container Platform 4 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat OpenShift Container Platform 5 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Satellite 6 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Self-service automation portal 2 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Service Telemetry Framework 1.5 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
6.7 · Medium CVSS 3.1
Scored by redhat
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
6.7 · Medium CVSS 3.1
Scored by secalert@redhat.com
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Related weaknesses
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.