ADVISORIES

Vulnerability

CVE-2024-9902

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.

26 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALAS2023-2025-918

    Amazon Linux 2023 - ALAS2023-2025-918: Medium priority package update for ansible-core

    Medium CVE-2024-9902 Amazon Linux Updated 1 April 2025
  • AZL-52384

    CVE-2024-9902 affecting package ansible for versions less than 2.14.18-1

    CVE-2024-9902 Azure Linux Updated 21 April 2026
  • AZL-52417

    CVE-2024-9902 affecting package ansible for versions less than 2.17.11-1

    CVE-2024-9902 Azure Linux Updated 21 April 2026
  • CGA-ch23-2hxj-x2w4
    CVE-2024-9902 Chainguard Updated 5 November 2026
  • CGA-cmq5-mf58-hr23
    CVE-2024-9902 Chainguard Updated 5 November 2026
  • CGA-ph45-247h-pqgm
    CVE-2024-9902 Chainguard Updated 5 November 2026
  • CGA-pqpm-h5h2-755x
    CVE-2024-9902 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2024-9902

    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…

    CVE-2024-9902 Debian Updated 6 November 2026
  • DLA-3963-1

    ansible - security update

    CVE-2024-8775CVE-2024-9902 Debian Updated 20 November 2026
  • GHSA-32p4-gm2c-wmch

    ansible-core Incorrect Authorization vulnerability

    Moderate CVE-2024-9902 PyPI Updated 10 September 2026
  • OESA-2024-2510

    ansible security update

    Medium CVE-2024-8775CVE-2024-9902 openEuler Updated 18 August 2026
  • OESA-2024-2511

    ansible security update

    Medium CVE-2024-8775CVE-2024-9902 openEuler Updated 18 August 2026
  • OESA-2024-2512

    ansible security update

    Medium CVE-2024-8775CVE-2024-9902 openEuler Updated 18 August 2026
  • OESA-2024-2513

    ansible security update

    Medium CVE-2024-8775CVE-2024-9902 openEuler Updated 18 August 2026
  • PYSEC-2026-1121

    ansible-core Incorrect Authorization vulnerability

    CVE-2024-9902 PyPI Updated 7 July 2026
  • RHSA-2024:10762

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2024-45296CVE-2024-45801CVE-2024-8775CVE-2024-9902 Red Hat Updated 23 November 2026
  • RHSA-2024:9894

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Release Update

    CVE-2024-8775CVE-2024-9902 Red Hat Updated 13 November 2026
  • RHSA-2025:1861

    Red Hat Security Advisory: Red Hat OpenStack Platform 17.1.4 (openstack-ansible-core) security update

    CVE-2024-56201CVE-2024-56326CVE-2024-9902 Red Hat Updated 13 November 2026
  • UBUNTU-CVE-2024-9902

    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…

    CVE-2024-9902 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2024:14498-1

    ansible-core-2.17.6-1.1 on GA media

    CVE-2024-8775CVE-2024-9902 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14499-1

    ansible-core-2.16-2.16.13-1.1 on GA media

    CVE-2024-8775CVE-2024-9902 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14537-1

    ansible-core-2.17-2.17.6-1.1 on GA media

    CVE-2023-5115CVE-2023-5764CVE-2024-0690CVE-2024-8775 openSUSE Updated 7 May 2025
  • openSUSE-SU-2025:15638-1

    ansible-core-2.18-2.18.10-2.1 on GA media

    CVE-2023-5115CVE-2023-5764CVE-2024-0690CVE-2024-11079 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15754-1

    ansible-core-2.19-2.19.4-1.1 on GA media

    CVE-2023-5115CVE-2023-5764CVE-2024-0690CVE-2024-11079 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10945-1

    ansible-core-2.20-2.20.6-1.1 on GA media

    CVE-2023-5115CVE-2023-5764CVE-2024-0690CVE-2024-11079 openSUSE Updated 4 June 2026
  • openSUSE-SU-2026:12451-1

    ansible-core-2.21-2.21.6-1.1 on GA media

    CVE-2023-5115CVE-2023-5764CVE-2024-0690CVE-2024-11079 openSUSE Updated 7 November 2026

References