CVE Catalog

CVE-2026-11837

HighCVSS 7.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

Local privilege escalation vulnerability in the ansible.posix authorized_key module. The keyfile() function uses os.chown() instead of os.lchown() and opens files without O_NOFOLLOW, allowing an unprivileged user to replace symbolic links and take over system files.

Risk Assessment

An attacker can gain root privileges by replacing symbolic links in their ~/.ssh directory, leading to full system compromise.

Recommendation

Update the ansible.posix authorized_key module to a version containing the fix. Avoid running authorized_key tasks as root on untrusted systems.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS