CVE-2026-11837 Details
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.
A local privilege escalation vulnerability exists in the Ansible.Posix authorized_key module. The issue arises because the module's keyfile() function utilizes os.chown() instead of os.lchown() and opens files without O_NOFOLLOW when handling SSH authorized keys. This flaw allows an unprivileged local user to create symbolic links in their ~/.ssh directory that redirect file ownership changes to arbitrary system paths. When the authorized_key task is executed as root, this can lead to unauthorized privilege escalation.
To mitigate this vulnerability, avoid running the Ansible.Posix authorized_key module with elevated privileges on untrusted user accounts. Additionally, check that target user home directories do not contain unexpected symbolic links before executing playbooks.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | redhat-SADP |
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
19 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Modified | [email protected] |
| Oct 29, 2026 | CVE Modified | [email protected] |
| Oct 13, 2026 | CVE Modified | [email protected] |
| Oct 12, 2026 | CVE Modified | [email protected] |
| Oct 8, 2026 | CVE Modified | [email protected] |
| Sep 9, 2026 | CVE Modified | redhat-SADP |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | redhat-SADP |
| Aug 25, 2026 | CVE Modified | redhat-SADP |
| Aug 24, 2026 | CVE Modified | [email protected] |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 8, 2026 | CVE Modified | [email protected] |
| Jul 8, 2026 | CVE Modified | [email protected] |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2026 | New CVE Received | [email protected] |