CVE-2024-9902

MEDIUM

ansible-core < 2.14.18rc1 - Unauthenticated Arbitrary File Write via User Module

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-9902. PoCs published by M8seven.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2026-11837, a local privilege escalation vulnerability in the `ansible.posix.authorized_key` module due to symlink-following `chown` and file creation operations. The writeup includes root cause analysis, affected code snippets, exploitation vectors, and suggested fixes.

Description

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.

Exploits (1)

github WRITEUP 1 stars
by M8seven · poc
https://github.com/M8seven/cve-2026-11837-ansible-posix-authorized-key

This repository provides a detailed technical analysis of CVE-2026-11837, a local privilege escalation vulnerability in the `ansible.posix.authorized_key` module due to symlink-following `chown` and file creation operations. The writeup includes root cause analysis, affected code snippets, exploitation vectors, and suggested fixes.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: ansible.posix collection (authorized_key module)
Auth required
Prerequisites: Local user access · Ansible playbook execution as root targeting the user
mistral-large-3 · analyzed Jun 23, 2026 Full analysis →

References (7)

Core 7
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2024:10762
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2024:8969
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2024:9894
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2025:1861
Vendor Advisory vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2024-9902
Issue Tracking issue-tracking x_refsource_redhat
https://bugzilla.redhat.com/show_bug.cgi?id=2318271

Scores

CVSS v3 6.3
EPSS 0.0026
EPSS Percentile 17.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-863
Status published
Products (12)
pypi/ansible-core 0 - 2.14.18rc1PyPI
Red Hat/Ansible Automation Platform Execution Environments 2.14.13-21
Red Hat/Ansible Automation Platform Execution Environments 2.17.6-2
Red Hat/Ansible Automation Platform Execution Environments 2.9.27-32
Red Hat/Ansible Automation Platform Execution Environments 3.0.1-95
Red Hat/Ansible Automation Platform Execution Environments 3.0.1-96
Red Hat/Red Hat Ansible Automation Platform 2.4 for RHEL 8 1:2.15.13-1.el8ap
Red Hat/Red Hat Ansible Automation Platform 2.4 for RHEL 9 1:2.15.13-1.el9ap
Red Hat/Red Hat Ansible Automation Platform 2.5 for RHEL 8 1:2.16.13-1.el8ap
Red Hat/Red Hat Ansible Automation Platform 2.5 for RHEL 9 1:2.16.13-1.el9ap
... and 2 more
Published Nov 06, 2024
Tracked Since Feb 18, 2026