Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown
cve-program · CVE-2026-11837 · Published
No access to your tenant or devices. Every item links to its source. What this means
Historical advisory recorded 29 Oct 2026 16:12:12 UTC. Read the latest advisory.
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.
Read the publisher's advisorySee how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
cve-program · CVE-2026-11837 · Published
cve-program · CVE-2026-11837 · Published
This historical link shows only this version and versions saved before it. Browse all advisory history.