CVE-2026-11837
HIGHAnsible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown
Title source: cnaExploitation 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)
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.
References (3)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H