Skip to content
Heist/ feed
Back to feed
High

kbd — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-72693

`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//fd/0")`. `stat()` on `/proc//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.

Products
kbd
Affected versions
1.15.5-1ubuntu1, 1.15.5-1ubuntu4, 1.15.5-1ubuntu5, 2.0.3-2ubuntu3, 2.0.4-2ubuntu1, 2.0.4-4ubuntu2, 2.3.0-3ubuntu3, 2.3.0-3ubuntu4, 2.3.0-3ubuntu4.22.04, 2.5.1-1ubuntu1, 2.6.4-2ubuntu1, 2.6.4-2ubuntu2, 2.7.1-2ubuntu1, 2.7.1-2ubuntu2, 2.9.0-1ubuntu1
Fixed versions
Not specified
CVEs
CVE-2026-72693
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:15 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-72693

core-osv · Original source

Published 11 Aug 2026, 09:17 UTC

`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//fd/0")`. `stat()` on `/proc//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.

osv:UBUNTU-CVE-2026-72693

kbd

Fixed versions: Not specified

kbd

Fixed versions: Not specified

kbd

Fixed versions: Not specified

kbd

Fixed versions: Not specified

kbd

Fixed versions: Not specified

kbd

Fixed versions: Not specified

kbd

Fixed versions: Not specified

kbd

Fixed versions: Not specified

Complete source record
{
  "id": "ea792f727951edd419f5a70375926d400ac8cb77ff8d5b5a64de0ce251269bcc",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-72693",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-72693",
    "summary": "`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//fd/0\")`. `stat()` on `/proc//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.",
    "evidence": "osv:UBUNTU-CVE-2026-72693",
    "products": [
      {
        "name": {
          "value": "kbd",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.15.5-1ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kbd",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.15.5-1ubuntu4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.15.5-1ubuntu5",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kbd",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.3-2ubuntu3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.4-2ubuntu1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kbd",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.4-4ubuntu2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kbd",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.0-3ubuntu3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.3.0-3ubuntu4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.3.0-3ubuntu4.22.04",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kbd",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.5.1-1ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.6.4-2ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.6.4-2ubuntu2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kbd",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.7.1-2ubuntu2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.9.0-1ubuntu1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kbd",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.7.1-2ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.7.1-2ubuntu2",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-72693",
      "aliases": [
        "UBUNTU-CVE-2026-72693"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kbd",
            "purl": "pkg:deb/ubuntu/kbd?arch=source&distro=trusty",
            "ecosystem": "Ubuntu:14.04:LTS"
          },
          "versions": [
            "1.15.5-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72693.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kbd",
                "binary_version": "1.15.5-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kbd",
            "purl": "pkg:deb/ubuntu/kbd?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.15.5-1ubuntu4",
            "1.15.5-1ubuntu5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72693.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kbd",
                "binary_version": "1.15.5-1ubuntu5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kbd",
            "purl": "pkg:deb/ubuntu/kbd?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.0.3-2ubuntu3",
            "2.0.4-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72693.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kbd",
                "binary_version": "2.0.4-2ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kbd",
            "purl": "pkg:deb/ubuntu/kbd?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.0.4-4ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72693.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kbd",
                "binary_version": "2.0.4-4ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kbd",
            "purl": "pkg:deb/ubuntu/kbd?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.3.0-3ubuntu3",
            "2.3.0-3ubuntu4",
            "2.3.0-3ubuntu4.22.04"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72693.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kbd",
                "binary_version": "2.3.0-3ubuntu4.22.04"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kbd",
            "purl": "pkg:deb/ubuntu/kbd?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.5.1-1ubuntu1",
            "2.6.4-2ubuntu1",
            "2.6.4-2ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72693.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kbd",
                "binary_version": "2.6.4-2ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kbd",
            "purl": "pkg:deb/ubuntu/kbd?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.7.1-2ubuntu2",
            "2.9.0-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72693.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kbd",
                "binary_version": "2.9.0-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kbd",
            "purl": "pkg:deb/ubuntu/kbd?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.7.1-2ubuntu1",
            "2.7.1-2ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72693.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kbd",
                "binary_version": "2.7.1-2ubuntu2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:49.046003556Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-72693"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-72693",
        "https://www.cve.org/CVERecord?id=CVE-2026-72693",
        "https://access.redhat.com/security/cve/CVE-2026-72693"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-72693",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360850,
  "published_at": "2026-08-11T09:17:00+00:00"
}