← All Advisories
Reported from OT-Advisories.com as of

ansible.posix authorized_key Calls os.chown() Without O_NOFOLLOW, Allowing a Local Attacker to Redirect Ownership Changes to Arbitrary Files

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-11837

Key Details

CVECVE-2026-11837
CVSS Score / Version
7.3 (High) / CVSS v3.1
Updated2026-10-13
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is required; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
see table below
Classified as
CWE-59 (Improper Link Resolution Before File Access ('Link Following'))
Exploitation prediction (EPSS)
0.16% probability of exploitation in the next 30 days (6% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat OpenStack Platform 17.1
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor Red Hat's web page for any future patch releases.

https://access.redhat.com/security/security-updates/

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-11837
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-11837
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.