Public vulnerability disclosure

CVE-2026-11837

Ansible-collection-ansible-posix: ansible.posix authorized_key: local privilege escalation via symlink-following chown

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

Technical severity7.3 highCVSS 3.1 · CNA: redhat
Published2026-06-10Source updated 2026-11-04
Collected2026-11-042 attributed sources

Fixes and workarounds

Workaround

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.

Source: CNA: redhat

Workaround

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.

Source: ADP: redhat-SADP

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Red Hat Enterprise Linux 10
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
≥ 0:0.2.10-1.el10_2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
≥ 0:0.2.3-6.el10_0.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
≥ 0:0.1.8-2.el8_6.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
≥ 0:0.1.8-2.el8_6.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
≥ 0:0.1.8-5.el8_8.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
≥ 0:0.1.8-5.el8_8.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
rhel-system-roles
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
rhel-system-roles
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
rhel-system-roles
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat OpenStack Platform 17.1
Red Hat
ansible-collection-ansible-posix
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenStack Platform 18.0
Red Hat
ansible-collection-ansible-posix
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
ADP: redhat-SADP
Red Hat Enterprise Linux 10
Red Hat
rhel-system-roles
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
ADP: redhat-SADP
Red Hat Enterprise Linux 8
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
ADP: redhat-SADP
Red Hat Enterprise Linux 8
Red Hat
rhel-system-roles
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
ADP: redhat-SADP
Red Hat Enterprise Linux 9
Red Hat
rhc-worker-playbook
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
ADP: redhat-SADP
Red Hat Enterprise Linux 9
Red Hat
rhel-system-roles
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
ADP: redhat-SADP
Red Hat OpenStack Platform 17.1
Red Hat
ansible-collection-ansible-posix
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
ADP: redhat-SADP
Red Hat OpenStack Platform 18.0
Red Hat
ansible-collection-ansible-posix
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
ADP: redhat-SADP

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.3
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HCNA: redhat
3.1 / 7.3
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HADP: redhat-SADP

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide