Description
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.
Published: 2026-10-06
Score: 2.9 Low
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation via SSH Configuration
Action: Apply Patch
AI Analysis

Impact

In OpenSSH through version 10.6, the sshd daemon can unintentionally obtain root privileges in operating systems such as QNX 6 and SCO OpenServer 5 when the GatewayPorts and StreamLocalForwarding options are enabled. The flaw arises because these platforms do not support file‑descriptor passing and do not allow unprivileged processes to allocate PTY devices, so the server runs with elevated rights without explicit root authorization. If an attacker can influence these settings or trigger the forward session, they may acquire full control over the host.

Affected Systems

The affected product is OpenBSD's OpenSSH implementation up to and including 10.6 on the QNX 6 and SCO OpenServer 5 platforms. Any installation running those operating systems with GatewayPorts or StreamLocalForwarding enabled is at risk. The vulnerability applies to all releases of OpenSSH 10.6 or earlier, as the fix was introduced after this version.

Risk and Exploitability

The CVSS score of 2.9 indicates a low overall impact, and the EPSS score of < 1% indicates a very low probability of exploitation. KEV entry is not listed. The attack vector is most likely remote via the SSH service: an attacker who can create a forwarding request or alter the configuration while authenticated with a low‑privileged account may trigger the privilege escalation. Because the flaw is limited to specific environments, the systemic risk is moderate, but the potential to achieve full root access mandates timely remediation.

Generated by OpenCVE AI on October 20, 2026 at 07:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenSSH to version 10.7 or later, or apply the vendor‑supplied patch for 10.6.
  • Disable GatewayPorts and StreamLocalForwarding in sshd_config when they are not required.
  • Ensure the operating system applies its latest patch for PTY allocation and file‑descriptor handling; if the platform remains unsupported, consider upgrading the OS or isolating the SSH service.

Generated by OpenCVE AI on October 20, 2026 at 07:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Title Unintended Root Privileges via GatewayPorts and StreamLocalForwarding in OpenSSH 10.6 on QNX and SCO openssh: OpenSSH: Privilege escalation via retained root privileges in sshd-session
Weaknesses CWE-250
References
Metrics threat_severity

None

threat_severity

Low


Wed, 07 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
Title Unintended Root Privileges via GatewayPorts and StreamLocalForwarding in OpenSSH 10.6 on QNX and SCO

Tue, 06 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
Description 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.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-272
CPEs cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
Vendors & Products Openbsd
Openbsd openssh
References
Metrics cvssV3_1

{'score': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-07T15:46:12.665Z

Reserved: 2026-10-06T21:21:35.635Z

Link: CVE-2026-106589

cve-icon Vulnrichment

Updated: 2026-10-07T15:44:03.057Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-06T22:17:06.920

Modified: 2026-10-07T16:17:44.730

Link: CVE-2026-106589

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-06T21:21:35Z

Links: CVE-2026-106589 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T07:45:11Z

Weaknesses
  • CWE-250

    Execution with Unnecessary Privileges

  • CWE-272

    Least Privilege Violation