CVE-2024-9902: Ansible lint · ansible-core Incorrect Authorization vulnerability
Affects ansible-lintSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 24.9.2_2 or 6.6.1 when convenient.
Data as of 22 Nov 2026, 18:24 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 6.3 |
|---|
- Patch
- Available – fixed in 24.9.2_2, 6.6.1
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 21 Nov 2026.
What to do
Upgrade ansible-lint to 24.9.2_2 or 6.6.1.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewansible-lintpkg:brew/ansible-lintOther 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 fix is available and users should upgrade to ansible-lint version 6.6.1 or later and ansible-core version 24.9.2_2 or later. The vendor advisory from Red Hat confirms these updates address the vulnerability. Applying these official patches is the recommended remediation. No additional mitigation steps are indicated beyond applying the updates.
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 and take ownership when a privileged user runs the user module on the unprivileged user's home directory. This occurs if the unprivileged user has traversal permissions on the directory containing the target file, enabling full control over the file contents. The issue affects specific versions of ansible-lint and ansible-core and has been assigned a medium severity with a CVSS score of 6.3. Fixed versions are available.
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)