CVE-2024-9902: ansible-core Incorrect Authorization vulnerability
Affects ansible-coreSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.14.18rc1 when convenient.
Data as of 31 Oct 2026, 01:26 UTC
- Patch
- Available – fixed in 2.14.18rc1, 2.15.13rc1, 2.16.13rc1 +2
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 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIansible-core | Affected
| Fixed in
|
| PyPIansible-core | Affected
| Fixed in
|
| PyPIansible-core | Affected
| Fixed in
|
| PyPIansible-core | Affected
| Fixed in
|
| PyPIansible-core | 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
Apply the official patches provided in ansible-core versions 2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1, or 2.18.0rc2 or later. The vendor advisory confirms that these updates fix the vulnerability. No additional mitigation steps are indicated beyond updating to a fixed version.
Description
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 path and take ownership when a privileged user runs the user module against the unprivileged user's home directory. This occurs if the unprivileged user has traversal permissions on the directory containing the target file, enabling them to control the file contents as its owner.
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)