Skip to main content
VulnerabilityPublished Updated

CVE-2024-9902: Molecule · ansible-core Incorrect Authorization vulnerability

Affects moleculeSource GCVE Database

0
Compare
Authoritative record:CVE-2024-9902· Medium 6.3

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

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.16.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Homebrewmoleculepkg:brew/moleculeOther threatsAffected
  • >=5.0.1 <24.9.0_2
Fixed in
  • 24.9.0_2
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • <2.14.18rc1
Fixed in
  • 2.14.18rc1
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • 2.15.0 – 2.15.12rc1
  • >=2.15.0b1 <2.15.13rc1
29 affected builds
Fixed in
  • 2.15.13rc1
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • 2.16.0 – 2.16.12rc1
  • >=2.16.0b1 <2.16.13rc1
26 affected builds
Fixed in
  • 2.16.13rc1
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • 2.17.0 – 2.17.5rc1
  • >=2.17.0b1 <2.17.6rc1
15 affected builds
Fixed in
  • 2.17.6rc1
PyPIansible-corepkg:pypi/ansible-coreOther threatsAffected
  • >=2.18.0b1 <2.18.0rc2
  • =2.18.0b1
  • =2.18.0rc1
Fixed in
  • 2.18.0rc2

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

Community reviews

Loading reviews…