VulnWatch by ve1ve2
high 7.3 EPSS 0.16%

CVE-2026-11837: 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.…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-11837 ↗

CWE-59

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. References: https://access.redhat.com/errata/RHSA-2026:42946 https://access.redhat.com/errata/RHSA-2026:79112 https://access.redhat.com/errata/RHSA-2026:80508 https://access.redhat.com/errata/RHSA-2026:82339 https://access.redhat.com/security/cve/CVE-2026-11837 https://bugzilla.redhat.com/show_bug.cgi?id=2487424 https://access.redhat.com/security/cve/CVE-2026-11837 https://bugzilla.redhat.com/show_bug.cgi?id=2487424 https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11837.json

Linked vulnerabilities (1)

CVE-2026-11837 high 7.3 EPSS 0.16% (p5) NVDCVE.org
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

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.

CWE: CWE-59NVD: Awaiting Analysis