CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.25% in 30 days
higher than 17% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
ansible-corebefore 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 HatAnsible Automation Platform Execution Environments ansible-automation-platform/ansible-builder-rhel8all versions (default)1.2.0-91
Red HatAnsible Automation Platform Execution Environments ansible-automation-platform/ansible-builder-rhel9all versions (default)3.0.1-95
Red HatAnsible Automation Platform Execution Environments ansible-automation-platform/ee-29-rhel8all versions (default)2.9.27-32
Red HatAnsible Automation Platform Execution Environments ansible-automation-platform/ee-minimal-rhel8all versions (default)2.12.10-54
Red HatAnsible Automation Platform Execution Environments ansible-automation-platform/ee-minimal-rhel9all versions (default)2.15.12-17
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-coreall versions (default)1:2.15.13-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-coreall versions (default)1:2.15.13-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-coreall versions (default)1:2.15.13-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-coreall versions (default)1:2.15.13-1.el9ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-coreall versions (default)1:2.15.13-1.el9ap
Red HatRed Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-coreall versions (default)1:2.15.13-1.el9ap
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-coreall versions (default)1:2.16.13-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-coreall versions (default)1:2.16.13-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-coreall versions (default)1:2.16.13-1.el8ap
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-coreall versions (default)1:2.16.13-1.el9ap
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-coreall versions (default)1:2.16.13-1.el9ap
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-coreall versions (default)1:2.16.13-1.el9ap
Red HatRed Hat OpenStack Platform 17.1 for RHEL 9 openstack-ansible-coreall versions (default)0:2.14.2-4.6.el9ost
Red HatRed Hat Enterprise Linux 10 ansible-corenot 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?

EcosystemPackageAffectedFixed inAdvisory
PyPIansible-core< 2.14.18rc12.14.18rc1GHSA-32p4-gm2c-wmch
PyPIansible-core>= 2.15.0b1, < 2.15.13rc12.15.13rc1GHSA-32p4-gm2c-wmch
PyPIansible-core>= 2.16.0b1, < 2.16.13rc12.16.13rc1GHSA-32p4-gm2c-wmch
PyPIansible-core>= 2.17.0b1, < 2.17.6rc12.17.6rc1GHSA-32p4-gm2c-wmch
PyPIansible-core>= 2.18.0b1, < 2.18.0rc22.18.0rc2GHSA-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?

ScoreVersionVectorSource
Medium 6.3CVSS 3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Lredhat

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?

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?

Who found and reported it?

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?

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.