CVE-2026-11837

HIGH

Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-11837. PoCs published by M8seven.

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

Description

A local privilege escalation vulnerability was found in the ansible.posix authorized_key module. The module's keyfile() function uses os.chown() instead of os.lchown() and opens files without O_NOFOLLOW when managing SSH authorized keys. An unprivileged local user can pre-stage symbolic links in their ~/.ssh directory to redirect file ownership changes to arbitrary system paths when an operator runs the authorized_key task as root, leading to local privilege escalation.

Exploits (1)

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

This repository contains a detailed technical writeup of CVE-2026-11837, a local privilege escalation vulnerability in the `ansible.posix.authorized_key` module due to symlink-following `chown` and file creation. The analysis includes root cause, affected code, 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: Unprivileged local user account · Operator running an `ansible.posix.authorized_key` task targeting the victim's account
mistral-large-3 · analyzed Jun 23, 2026 Full analysis →

References (3)

Core 3
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-11837
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2487424
https://bugzilla.redhat.com/show_bug.cgi?id=2487424

Scores

CVSS v3 7.3
EPSS 0.0016
EPSS Percentile 5.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-59
Status published
Products (5)
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat OpenStack Platform 17.1
Red Hat/Red Hat OpenStack Platform 18.0
Published Jun 10, 2026
Tracked Since Jun 10, 2026