CVE-2026-11837CWE-59

CVE-2026-11837

High · published June 10, 2026

CVSS v3.1
7.3
EPSS
0%
Percentile
5.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00163 · 5.2th percentile
Weakness
CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-06-10T09:16Z
References (8)
EPSS history
Timeline
  • 10 JUN 05:03Z
    Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown
    cvelistv5