Vulnerability · Published Jun 10, 2026 · Assigned by redhat

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

High 7.3

In plain English

A high-severity security flaw in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.2%top 94.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ansibleno fix listedDEBIAN-CVE-2026-11837
Debian:13ansibleno fix listedDEBIAN-CVE-2026-11837
Debian:14ansibleno fix listedDEBIAN-CVE-2026-11837
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2026-11837
Ubuntu:25.10ansibleno fix listedUBUNTU-CVE-2026-11837
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2026-11837
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2026-11837
Ubuntu:22.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-11837
Ubuntu:24.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-11837
Ubuntu:25.10ansible-coreno fix listedUBUNTU-CVE-2026-11837
Ubuntu:26.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-11837
Ubuntu:26.10ansible-coreno fix listedUBUNTU-CVE-2026-11837

Affected products (as reported)

Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

References