---
id: CVE-2026-106589
title: >-
  In sshd in OpenSSH through 10.6, in certain environments such as QNX 6 and SCO
  OpenServer 5, sshd-session can unexpectedly have root privileges
summary: >-
  In sshd in OpenSSH through 10.6, in certain environments such as QNX 6 and SCO
  OpenServer 5, sshd-session can unexpectedly have root privileges. This is
  related to the GatewayPorts and StreamLocalForwarding configuration options,
  and lac…
severity: low
cvss: 2.9
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-272
vendor: OpenBSD
product: OpenSSH
affected:
  - OpenSSH <= 10.6
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T22:17:06.920'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106589'
references:
  - url: 'https://www.openssh.org/releasenotes.html#10.6'
    label: cve@mitre.org
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-06T22:23:15.970Z'
---

## Overview

In sshd in OpenSSH through 10.6, in certain environments such as QNX 6 and SCO OpenServer 5, sshd-session can unexpectedly have root privileges. This is related to the GatewayPorts and StreamLocalForwarding configuration options, and lack of support for file-descriptor passing and unprivileged allocation of PTY devices.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
