Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-11837

Опубликовано: 10 июн. 2026
Источник: redhat
CVSS3: 7.3
EPSS Низкий

Описание

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.

Меры по смягчению последствий

The following practices would help for avoiding exposure and mitigate this flaw:

  1. Do not run the ansible.posix authorized_key module with elevated privileges against untrusted user accounts.
  2. Validate that target user home directories do not contain unexpected symbolic links before running playbooks.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10rhel-system-rolesNot affected
Red Hat Enterprise Linux 8rhc-worker-playbookAffected
Red Hat Enterprise Linux 8rhel-system-rolesNot affected
Red Hat Enterprise Linux 9rhel-system-rolesNot affected
Red Hat OpenStack Platform 17.1ansible-collection-ansible-posixAffected
Red Hat OpenStack Platform 18.0ansible-collection-ansible-posixAffected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-59
https://bugzilla.redhat.com/show_bug.cgi?id=2487424ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown

EPSS

Процентиль: 6%
0.00161
Низкий

7.3 High

CVSS3

Связанные уязвимости

CVSS3: 7.3
ubuntu
около 2 месяцев назад

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.

CVSS3: 7.3
nvd
около 2 месяцев назад

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.

CVSS3: 7.3
debian
около 2 месяцев назад

A local privilege escalation vulnerability was found in the ansible.po ...

CVSS3: 7.3
github
около 2 месяцев назад

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.

CVSS3: 7.3
fstec
около 2 месяцев назад

Уязвимость функции keyfile() модуля ansible.posix.authorized_key, позволяющая нарушителю повысить свои привилегии

EPSS

Процентиль: 6%
0.00161
Низкий

7.3 High

CVSS3