CVE-2024-9902: Molecule · ansible-core Incorrect Authorization vulnerability
Affects moleculeSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 24.9.0_2 when convenient.
Data as of 4 Dec 2026, 18:46 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 6.3 |
|---|
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 24.9.0_2, 2.14.18rc1, 2.15.13rc1 +3
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmoleculepkg:brew/moleculeOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
PyPIansible-corepkg:pypi/ansible-coreOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A security update fixing this vulnerability is available in ansible-core version 24.9.0_2. Users and administrators should upgrade affected installations to this version or later to remediate the issue. No additional mitigations are specified in the vendor advisory. Since a patch is available, applying the official fix is the recommended action.
Description
Ansible's ansible-core user module contains an authorization vulnerability (CVE-2024-9902) that allows an unprivileged user to create or replace files on any system path and take ownership when a privileged user runs the user module on the unprivileged user's home directory. This can lead to unauthorized file modification and ownership changes if directory traversal permissions exist. The issue affects versions from 5.0.1 up to but not including 24.9.0_2 and has been assigned a medium severity with a CVSS score of 6.3. A fix is available in version 24.9.0_2. Red Hat has published an advisory confirming the vulnerability and the availability of the update.
References
- nvd.nist.gov/vuln/detail/CVE-2024-9902 (opens in a new tab)
- github.com/ansible/ansible/commit/03794735d370db98a5ec2ad514fab2b0dd22d6be (opens in a new tab)
- github.com/ansible/ansible/commit/03daf774d0d80fb7235910ed1c2b4fbcaebdfe65 (opens in a new tab)
- github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892 (opens in a new tab)
- github.com/ansible/ansible/commit/9d7312f695639e804d2caeb1d0f51c716a9ac7dd (opens in a new tab)
- github.com/ansible/ansible/commit/f7be90626da3035c697623dcf9c90b7a0bc91c92 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:10762 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8969 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:9894 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:1861 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-9902 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2318271 (opens in a new tab)
- github.com/ansible/ansible (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/11/msg00021.html (opens in a new tab)