CVE 7.3 HIGH

Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown_CVE-2026-11837

7.3 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-11837
Source redhat
Published Jun 10, 2026 at 05:03

Affected Product

Vendor Red Hat
Product Red Hat Enterprise Linux 10

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.