CVE-2024-9902
CVE-2024-9902
- CVSS v3
- 6.3 Medium
- Public exploits
- 1 repository
- EPSS
- 0.003 · 16.5th percentile
- Published
- 2024-11-06
A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L.
- Attack Vector
- Local
AV:L - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.003, 16.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- M8seven/cve-2026-11837-ansible-posix-authorized-key (1 star, last pushed 2026-06-23): CVE-2026-11837: local privilege escalation in the ansible.posix authorized_key module via symlink-following chown. Technical writeup; sibling of CVE-2024-9902.
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/errata/RHSA-2024:10762 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:8969 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:9894 (vendor-advisory)
- access.redhat.com/errata/RHSA-2025:1861 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2024-9902 (vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking)
- lists.debian.org/debian-lts-announce/2024/11/msg00021.html