CVE-2024-9902Red Hat Ansible Automation Platform Execution Environments
Medium 6.3
Follow: this CVE · Red Hat · Red Hat Ansible Automation Platform Execution Environments We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.3
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 13
- Auth required
- Yes
- Published
- Nov 6, 2024
- Updated
- Nov 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for Ansible Automation Platform Execution Environments.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible-core |
< 2.14.18rc1 |
2.14.18rc1 |
pip install "ansible-core>=2.14.18rc1" |
| PyPI | ansible-core |
≥ 2.15.0b1 < 2.15.13rc1 |
2.15.13rc1 |
pip install "ansible-core>=2.15.13rc1" |
| PyPI | ansible-core |
≥ 2.16.0b1 < 2.16.13rc1 |
2.16.13rc1 |
pip install "ansible-core>=2.16.13rc1" |
| PyPI | ansible-core |
≥ 2.17.0b1 < 2.17.6rc1 |
2.17.6rc1 |
pip install "ansible-core>=2.17.6rc1" |
| PyPI | ansible-core |
≥ 2.18.0b1 < 2.18.0rc2 |
2.18.0rc2 |
pip install "ansible-core>=2.18.0rc2" |
| PyPI | ansible-core |
< 2.14.18rc1 |
2.14.18rc1 |
pip install "ansible-core>=2.14.18rc1" |
| PyPI | ansible-core |
≥ 2.15.0b1 < 2.15.13rc1 |
2.15.13rc1 |
pip install "ansible-core>=2.15.13rc1" |
| PyPI | ansible-core |
≥ 2.16.0b1 < 2.16.13rc1 |
2.16.13rc1 |
pip install "ansible-core>=2.16.13rc1" |
| PyPI | ansible-core |
≥ 2.17.0b1 < 2.17.6rc1 |
2.17.6rc1 |
pip install "ansible-core>=2.17.6rc1" |
Per OSV / GitHub Advisories (GHSA-32p4-gm2c-wmch, PYSEC-2026-1121). Check the version in your lockfile before upgrading.
Affected products
- Red Hat · Ansible Automation Platform Execution Environments
- Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
- Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
- Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8
- Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9
- Red Hat · Red Hat OpenStack Platform 17.1 for RHEL 9
- Red Hat · Red Hat Enterprise Linux 10
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- ansible-core-2.21-2.21.6-1.1 on GA media · SUSE · openSUSE-SU-2026:12451-1 · Nov 6, 2026 High
- ansible-core-2.20-2.20.6-1.1 on GA media · SUSE · openSUSE-SU-2026:10945-1 · Jun 3, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.