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

- Severity: High 7.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-06-10T05:03:05.734Z
- Modified: 2026-11-30T09:17:17.850Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- rhc-worker-playbook: no versions given (not affected: from 0:0.2.10-1.el10_2 before *; from 0:0.2.3-6.el10_0.2 before *; from 0:0.1.8-2.el8_6.1 before *; from 0:0.1.8-5.el8_8.1 before *)
- rhel-system-roles: no versions given
- ansible-collection-ansible-posix: no versions given

## Every score

- redhat: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2026:42946> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:79112> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:80508> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82339> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-11837> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2487424> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11837.json>

## Sources

- CVE List: [CVE-2026-11837](https://www.cve.org/CVERecord?id=CVE-2026-11837), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-11837](https://nvd.nist.gov/vuln/detail/CVE-2026-11837), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-11837 · Whole record: https://cve.day/CVE-2026-11837.json · Rebuilt by cve.day 2026-11-30T09:32:18.249Z
