Improper Access Control Affecting kbd-legacy package, versions <0:2.0.4-11.el8_10.1


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-KBDLEGACY-20726245
  • published10 Oct 2026
  • disclosed20 Aug 2026

Introduced: 20 Aug 2026

CVE-2026-72693  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 kbd-legacy to version 0:2.0.4-11.el8_10.1 or higher.
This issue was patched in ALSA-2026:78951.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kbd-legacy package and not the kbd-legacy package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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(&#34;/proc/&lt;pid&gt;/fd/0&#34;). stat() on /proc/&lt;pid&gt;/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.

CVSS Base Scores

version 3.1