CVE-2026-11837
High 7.3No known exploitationFix status unknownAnsible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 5% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-59
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- The following practices would help for avoiding exposure and mitigate this flaw: 1) Do not run the ansible.posix authorized_key module with elevated privileges against untrusted user accounts. 2) Validate that target user home directories do not contain unexpected symbolic links before running playbooks. Source (opens in a new tab)
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenStack Platform 17.1 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10 (unaffected) | 0:0.2.10-1.el10_2 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support (unaffected) | 0:0.2.3-6.el10_0.2 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support (unaffected) | 0:0.1.8-2.el8_6.1 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On (unaffected) | 0:0.1.8-2.el8_6.1 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service (unaffected) | 0:0.1.8-5.el8_8.1 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions (unaffected) | 0:0.1.8-5.el8_8.1 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenStack Platform 18.0 (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHSA-2026:42946 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:79112 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:80508 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:82339 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/security/cve/CVE-2026-11837 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2487424 (opens in a new tab)issue-tracking, x_refsource_redhat
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11837.json (opens in a new tab)x_sadp-csaf-vex