7.8high
Kbd: local privilege escalation in openvt via incorrect process owner verification allowing passwordless root login
- Severity
- 7.8high CVSS:3.1 by redhat
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
`openvt -u` is intended to identify the owner of the current VT and then execute `login` as that user from a privileged context. In the documented `kbrequest`/init usage, the ownership test in `authenticate_user()` relies on `stat("/proc/<pid>/fd/0")`. `stat()` on `/proc/<pid>/fd/0` follows the symlink to the underlying TTY device node. As a result, `buf.st_uid` reflects the owner of the TTY node rather than the owner of the process holding the file descriptor. If the TTY owner returns to `root` or the getty owner after logout while an unprivileged process still has `fd 0` attached to that TTY, the check can incorrectly treat that process as belonging to the privileged console owner. Once that check succeeds, the `-u` path executes a passwordless login as the selected user. In the documented `kbrequest`/init deployment using `openvt -us`, this can result in passwordless `login -f root` on the spawned VT. This report establishes that privilege escalation path for that documented deployment; it does not claim equivalent reachability for deployments that do not use `openvt -u` from a privileged `kbrequest`/init path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kbd | Not specified Not affected: from 0:2.6.4-8.el10_2 before *, from 0:2.0.4-11.el8_10.1 before *, from 0:2.4.0-12.el9_8 before * | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified Not affected: from 4.22.9.8.202608251819-0 before *, from 4.22.9.8.202609081748-0 before * | CVE List |
| kbd-main | Not specified Not affected: from 2.10.0-2.hum1 before * | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://access.redhat.com/errata/RHSA-2026:41136 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:57597 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:57610 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:60440 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:66357 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:78951 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-72693 | vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2462115 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72693 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2026-72693 changed 2026-11-05 | Public domain |