CVE-2024-9902
Ansible-core: ansible-core user may read/write unauthorized content
6.3CVSSMEDIUM
Description
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.
CVSS Vector Breakdown
Exploitability
AV:LAttack VectorLocal
AC:HAttack ComplexityHigh
PR:LPrivileges RequiredLow
UI:RUser InteractionRequired
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:LAvailabilityLow
Weaknesses
Affected Products
and 6 more affected products View all →
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
Official Patch Available
Workaround Available
MITRE ATT&CK
2 techniques Initial Access
References
https://access.redhat.com/errata/RHSA-2024:10762
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:8969
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:9894
access.redhat.com
and 21 more references View all →
Timeline
Published
Nov 6, 2024
Last Updated
Nov 3, 2025
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2024-9902 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows