
CVE catalog
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_NOFOLL
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ansible | sid | 14.4.0+dfsg-1 | vulnerable |
| Debian | ansible | forky | 14.0.0+dfsg-1 | vulnerable |
| Debian | ansible | trixie | 12.0.0+dfsg-0+deb13u1 | vulnerable |
| Debian | ansible | bookworm | 7.7.0+dfsg-3+deb12u1 | vulnerable |
| Cpe | ansible | Not reported | Not reported | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ansible | source | sid | (unfixed) | not yet assigned | Not reported | [1139917] |
| Debian | ansible | source | forky | (unfixed) | not yet assigned | Not reported | [1139917] |
| Debian | ansible | source | trixie | (unfixed) | not yet assigned | Not reported | [1139917] |
| Debian | ansible | source | bookworm | (unfixed) | not yet assigned | Not reported | [1139917] |
Notes
[trixie] ansible: Minor issue [bookworm] ansible: Minor issue, can be fixed with next update
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ansible]Affected
Details (2)
7.7.0+dfsg-3+deb12u1· all · bookwormAffected
nvd · ansible · debian · bookworm
7.7.0+dfsg-3+deb12u1· all · bookwormAffected
nvd · ansible · debian · bookworm
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-11837]
- [https://security-tracker.debian.org/tracker/CVE-2026-11837]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11837.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3848.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]