Home / Red Hat / Ansible Automation Platform Execution Environments / CVE-2024-9902
CVE-2024-9902: is it exploited, and which versions of Red Hat Ansible Automation Platform Execution Environments are affected and fixed?
CVE-2024-9902 is an incorrect authorization vulnerability in Red Hat Ansible Automation Platform Execution Environments. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: ansible-core before 2.14.18rc1, ansible-core from 2.15.0b1 before 2.15.13rc1, ansible-core from 2.16.0b1 before 2.16.13rc1 and 2 more (GitHub advisory GHSA-32p4-gm2c-wmch). Fixed in 2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1 and 1 more (GitHub advisory GHSA-32p4-gm2c-wmch). Severity: Medium (6.3, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 24, 2026, 06:31 UTC and NVD November 24, 2026, 08:08 UTC.
What is CVE-2024-9902?
Ansible-core: ansible-core user may read/write unauthorized content
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.
From the CVE record by redhat, last updated November 24, 2026, 06:23 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ansible-core | before 2.14.18rc1 from 2.15.0b1 before 2.15.13rc1 from 2.16.0b1 before 2.16.13rc1 from 2.17.0b1 before 2.17.6rc1 from 2.18.0b1 before 2.18.0rc2 | 2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1, 2.18.0rc2 | |
| Red Hat | Ansible Automation Platform Execution Environments ansible-automation-platform/ansible-builder-rhel8 | all versions (default) | 1.2.0-91 |
| Red Hat | Ansible Automation Platform Execution Environments ansible-automation-platform/ansible-builder-rhel9 | all versions (default) | 3.0.1-95 |
| Red Hat | Ansible Automation Platform Execution Environments ansible-automation-platform/ee-29-rhel8 | all versions (default) | 2.9.27-32 |
| Red Hat | Ansible Automation Platform Execution Environments ansible-automation-platform/ee-minimal-rhel8 | all versions (default) | 2.12.10-54 |
| Red Hat | Ansible Automation Platform Execution Environments ansible-automation-platform/ee-minimal-rhel9 | all versions (default) | 2.15.12-17 |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-core | all versions (default) | 1:2.15.13-1.el8ap |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-core | all versions (default) | 1:2.15.13-1.el8ap |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-core | all versions (default) | 1:2.15.13-1.el8ap |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-core | all versions (default) | 1:2.15.13-1.el9ap |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-core | all versions (default) | 1:2.15.13-1.el9ap |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-core | all versions (default) | 1:2.15.13-1.el9ap |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-core | all versions (default) | 1:2.16.13-1.el8ap |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-core | all versions (default) | 1:2.16.13-1.el8ap |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-core | all versions (default) | 1:2.16.13-1.el8ap |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-core | all versions (default) | 1:2.16.13-1.el9ap |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-core | all versions (default) | 1:2.16.13-1.el9ap |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-core | all versions (default) | 1:2.16.13-1.el9ap |
| Red Hat | Red Hat OpenStack Platform 17.1 for RHEL 9 openstack-ansible-core | all versions (default) | 0:2.14.2-4.6.el9ost |
| Red Hat | Red Hat Enterprise Linux 10 ansible-core | not stated |
As the CVE record by redhat states it, last updated November 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | ansible-core | < 2.14.18rc1 | 2.14.18rc1 | GHSA-32p4-gm2c-wmch |
| PyPI | ansible-core | >= 2.15.0b1, < 2.15.13rc1 | 2.15.13rc1 | GHSA-32p4-gm2c-wmch |
| PyPI | ansible-core | >= 2.16.0b1, < 2.16.13rc1 | 2.16.13rc1 | GHSA-32p4-gm2c-wmch |
| PyPI | ansible-core | >= 2.17.0b1, < 2.17.6rc1 | 2.17.6rc1 | GHSA-32p4-gm2c-wmch |
| PyPI | ansible-core | >= 2.18.0b1, < 2.18.0rc2 | 2.18.0rc2 | GHSA-32p4-gm2c-wmch |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2025. Summary: ansible-core Incorrect Authorization vulnerability.
How severe is CVE-2024-9902?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-9902 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 6, 2024)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
Is there a workaround? (from the CVE record)
In the play that uses the user module with the key generation option, have a prior task ensuring the public key does not exist for example: - name: avoid user exploit (change name depending on other options used in user task) file: path=/home/{{username}}/.ssh/id_rsa.pub state=absent
Where are the vendor advisories and references?
- RHSA-2024:10762 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:8969 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:9894 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:1861 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-9902 vdb-entry, x_refsource_REDHAT
- RHBZ#2318271 issue-tracking, x_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html
Who found and reported it?
- Red Hat would like to thank Matt Clay for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 12, 2024
- Published
- November 6, 2024, 09:56 UTC
- CVE record updated
- November 24, 2026, 06:23 UTC by redhat
- NVD
- Deferred, last modified November 24, 2026, 07:17 UTC
- Last checked
- CVE list November 24, 2026, 06:31 UTC; NVD November 24, 2026, 08:08 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ansible Automation Platform Execution Environments?
- Nov 11, 2024CVE-2024-11079 Red Hat Ansible Automation Platform Execution Environments: improper input validation
- Sep 14, 2024CVE-2024-8775 Red Hat Ansible Automation Platform Execution Environments: sensitive information written to log files
Every CVE in Ansible Automation Platform Execution Environments
Questions about CVE-2024-9902
Is CVE-2024-9902 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Ansible Automation Platform Execution Environments are affected by CVE-2024-9902?
ansible-core before 2.14.18rc1, ansible-core from 2.15.0b1 before 2.15.13rc1, ansible-core from 2.16.0b1 before 2.16.13rc1, ansible-core from 2.17.0b1 before 2.17.6rc1 and ansible-core from 2.18.0b1 before 2.18.0rc2, per the GitHub advisory GHSA-32p4-gm2c-wmch. The tables above give every range the sources list.
Which version fixes CVE-2024-9902?
2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1 and 2.18.0rc2, per the GitHub advisory GHSA-32p4-gm2c-wmch. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-9902?
Medium (6.3, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2024-9902?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.