CVE-2026-11837
highA local privilege escalation vulnerability was found in the ansible.posix authorized_key module.
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://access.redhat.com/errata/RHSA-2026:42946 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:79112 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:80508 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:82339 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2026-11837 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2487424 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2026-11837 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://bugzilla.redhat.com/show_bug.cgi?id=2487424 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11837.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
