Live threats

All CVEs / Red Hat

CVE-2024-9902Red Hat Ansible Automation Platform Execution Environments

Medium 6.3

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible Automation Platform Execution Environments.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.