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

No configuration.

History

10 Jun 2026, 05:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-10 05:16

Updated : 2026-06-10 05:16


NVD link : CVE-2026-11837

Mitre link : CVE-2026-11837

CVE.ORG link : CVE-2026-11837


JSON object : View

Products Affected

No product.

CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')