CVE-2026-11837: Improper Link Resolution Before File Access ('Link Following') in Red Hat Red Hat Enterprise Linux 10
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.
AI Analysis
Technical Summary
This vulnerability involves improper link resolution before file access in the ansible.posix authorized_key module on Red Hat Enterprise Linux 10. The keyfile() function incorrectly uses os.chown() instead of os.lchown() and does not use the O_NOFOLLOW flag when opening files, which allows symbolic links to be followed. An unprivileged local user can create symbolic links in their ~/.ssh directory that redirect file ownership changes to arbitrary system files or directories when the authorized_key task is executed with root privileges, resulting in local privilege escalation. The CVSS v3.1 score is 7.3, indicating high severity. No official patch or remediation level is currently stated in the vendor advisory.
Potential Impact
Successful exploitation allows an unprivileged local user to escalate privileges to root by manipulating symbolic links in their ~/.ssh directory. This can lead to unauthorized ownership changes of arbitrary system files or directories, potentially compromising system integrity, confidentiality, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-11837 for current remediation guidance. Until a fix is available, avoid running the ansible.posix authorized_key task as root on untrusted user directories or environments. Monitor Red Hat communications for updates on patches or workarounds.
CVE-2026-11837: Improper Link Resolution Before File Access ('Link Following') in Red Hat Red Hat Enterprise Linux 10
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.
CVSS v3.1
Score 7.3high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper link resolution before file access in the ansible.posix authorized_key module on Red Hat Enterprise Linux 10. The keyfile() function incorrectly uses os.chown() instead of os.lchown() and does not use the O_NOFOLLOW flag when opening files, which allows symbolic links to be followed. An unprivileged local user can create symbolic links in their ~/.ssh directory that redirect file ownership changes to arbitrary system files or directories when the authorized_key task is executed with root privileges, resulting in local privilege escalation. The CVSS v3.1 score is 7.3, indicating high severity. No official patch or remediation level is currently stated in the vendor advisory.
Potential Impact
Successful exploitation allows an unprivileged local user to escalate privileges to root by manipulating symbolic links in their ~/.ssh directory. This can lead to unauthorized ownership changes of arbitrary system files or directories, potentially compromising system integrity, confidentiality, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-11837 for current remediation guidance. Until a fix is available, avoid running the ansible.posix authorized_key task as root on untrusted user directories or environments. Monitor Red Hat communications for updates on patches or workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-06-10T04:10:05.146Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-11837","vendor":"Red Hat"}]
Threat ID: 6a28f1e98dd33fbd85e9443d
Added to database: 06/10/2026, 05:11:05 UTC
Last enriched: 07/15/2026, 13:37:07 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 165
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.