CVE-2024-9902 is a vulnerability in the ansible-core user module that allows an unprivileged user to create or replace any file on the system and take ownership when a privileged user runs the user module on the unprivileged user's home directory. This occurs if the unprivileged user has traversal permissions on the directory containing the target file, enabling full control over the file contents. The issue affects specific versions of ansible-lint and ansible-core and has been assigned a medium severity with a CVSS score of 6.3. Fixed versions are available.