Kbd: local privilege escalation in openvt via incorrect process owner verification allowing passwordless root login
Overview
`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.
- Published
- 8/11/2026
- Last modified
- 11/5/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Red Hat Enterprise Linux 10 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 8 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 9 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat OpenShift Container Platform 4.22 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Hardened Images Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 6 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Enterprise Linux 7 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat OpenShift Container Platform 4 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat OpenShift Container Platform 5 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.