Skip to main content
CVE-2024-9902VulnerabilityPublished Updated

Ansible. The ansible-core user module can

Affects ansibleSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium : update ansible when convenient.

Data as of 24 Nov 2026, 19:25 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
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 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10ansiblepkg:deb/ubuntu/ansible?arch=source&distro=stonkingOther threatsAffected
  • =13.1.0+dfsg-1ubuntu1
  • =13.4.0+dfsg-1
Fixed in–
Ubuntu 26.10ansible-corepkg:deb/ubuntu/ansible-core?arch=source&distro=stonkingOther threatsAffected
  • 2.20.1-1 – 2.22.0~beta2-1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSansiblepkg:deb/ubuntu/ansible?arch=source&distro=resoluteOther threatsAffected
  • 12.0.0+dfsg-1 – 13.1.0+dfsg-1ubuntu1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSansible-corepkg:deb/ubuntu/ansible-core?arch=source&distro=resoluteOther threatsAffected
  • =2.19.0-1ubuntu1
  • =2.19.4-1
  • =2.20.1-1
Fixed in–
Ubuntu 25.10ansiblepkg:deb/ubuntu/ansible?arch=source&distro=questingOther threatsAffected
  • 11.2.0+dfsg-1 – 12.0.0~b1+dfsg-1
5 affected builds
Fixed in–
Ubuntu 25.10ansible-corepkg:deb/ubuntu/ansible-core?arch=source&distro=questingOther threatsAffected
  • =2.18.1-4ubuntu1
  • =2.19.0~beta4-1ubuntu1
  • =2.19.0-1ubuntu1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…