Skip to main content
← All vulnerabilities
CVE-2026-11837

Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • rhc-worker-playbook

    Version range not reported

  • rhc-worker-playbook

    Version range not reported

  • rhc-worker-playbook

    Version range not reported

  • rhc-worker-playbook

    Version range not reported

  • rhc-worker-playbook

    Version range not reported

  • rhc-worker-playbook

    Version range not reported

  • rhel-system-roles

    Version range not reported

  • rhc-worker-playbook

    Version range not reported

  • rhel-system-roles

    Version range not reported

  • rhc-worker-playbook

    Version range not reported

  • rhel-system-roles

    Version range not reported

  • ansible-collection-ansible-posix

    Version range not reported

  • ansible-collection-ansible-posix

    Version range not reported

References 7

access.redhat.com

bugzilla.redhat.com

GitHub · M8seven/cve-2026-11837-ansible-posix-authorized-key