{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-11837: Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-11837","status":"final","version":"1","initial_release_date":"2026-06-10T05:03:05.734Z","current_release_date":"2026-06-15T21:32:45.562Z","revision_history":[{"date":"2026-06-10T05:03:05.734Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-11837 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-11837"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-11837"},{"category":"external","summary":"access.redhat.com","url":"https://access.redhat.com/security/cve/CVE-2026-11837"},{"category":"external","summary":"RHBZ#2487424","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487424"}]},"product_tree":{"branches":[{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 10","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 10 *","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 8","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 8 *","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 8","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 8 *","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 9","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat Enterprise Linux 9 *","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat OpenStack Platform 17.1","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat OpenStack Platform 17.1 *","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_openstack_platform_17.1:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Red Hat","branches":[{"category":"product_name","name":"Red Hat OpenStack Platform 18.0","branches":[{"category":"product_version","name":"*","product":{"name":"Red Hat Red Hat OpenStack Platform 18.0 *","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:red_hat:red_hat_openstack_platform_18.0:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-11837","title":"Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","baseScore":7.3,"baseSeverity":"HIGH"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6"]}]}]}