Skip to main content
← All vulnerabilities
CVE-2024-9902GHSA-32P4-GM2C-WMCHPYSEC-2026-1121

Ansible-core: ansible-core user may read/write unauthorized content

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1, 2.18.0rc2
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • ansible-core

    fixed in 2.14.18rc1; From 2.15.0b1 · fixed in 2.15.13rc1; From 2.16.0b1 · fixed in 2.16.13rc1; From 2.17.0b1 · fixed in 2.17.6rc1; From 2.18.0b1 · fixed in 2.18.0rc2

  • ansible-automation-platform/ansible-builder-rhel8

    Version range not reported

  • ansible-automation-platform/ansible-builder-rhel9

    Version range not reported

  • ansible-automation-platform/ee-29-rhel8

    Version range not reported

  • ansible-automation-platform/ee-minimal-rhel8

    Version range not reported

  • ansible-automation-platform/ee-minimal-rhel9

    Version range not reported

  • ansible-core

    Version range not reported

  • ansible-core

    Version range not reported

  • ansible-core

    Version range not reported

  • ansible-core

    Version range not reported

  • openstack-ansible-core

    Version range not reported

  • ansible-core

    Version range not reported

  • ansible-corePyPI

    fixed in 2.14.18rc1

  • ansible-corePyPI

    From 2.15.0b1 · fixed in 2.15.13rc1

  • ansible-corePyPI

    From 2.16.0b1 · fixed in 2.16.13rc1

  • ansible-corePyPI

    From 2.17.0b1 · fixed in 2.17.6rc1

  • ansible-corePyPI

    From 2.18.0b1 · fixed in 2.18.0rc2

  • ansible-corePyPI

    fixed in 2.14.18rc1; From 2.15.0b1 · fixed in 2.15.13rc1; From 2.16.0b1 · fixed in 2.16.13rc1; From 2.17.0b1 · fixed in 2.17.6rc1; From 2.18.0b1 · fixed in 2.18.0rc2

References 7

access.redhat.com

bugzilla.redhat.com

GitHub · M8seven/cve-2026-11837-ansible-posix-authorized-key