CVE-2026-106586

openssh: OpenSSH: Security restriction bypass via unenforced restrict directive in tunnel forwarding

Published Oct 6, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
Description
In sshd in OpenSSH before 10.6, the restrict keyword (in authorized_keys) was supposed to be applicable to tunnel forwarding but was not, a different vulnerability than CVE-2026-73283.

Analysis

AI-generated

Technical impact

In OpenSSH versions prior to 10.6 the restrict keyword that appears in authorized_keys is intended to prevent users from creating tunnel forwarding streams, yet it does not affect tunnel forwarding, allowing a user whose key contains restrict to open SSH tunnels that were supposed to be blocked, which enables unauthorized lateral movement and exposure of internal services but does not provide code execution or privilege escalation.

Affected Systems

OpenBSD OpenSSH installations running a version earlier than 10.6 are affected; no specific sub‑version information is provided beyond the cutoff, so administrators must verify their running version.

Risk and Exploitability

The CVSS score of 2.5 indicates a low impact, the EPSS score of 0.00077 indicates a very low exploitation probability and the vulnerability is not listed in CISA KEV; the likely attack vector is a legitimate SSH login where the attacker uses a key with the restrict keyword but still opens a tunnel, requiring only authentication as a user and enabling unauthorized forwarding.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenSSH to version 10.6 or later.
  • In the meantime, set AllowTcpForwarding no or adjust PermitOpen restrictions in sshd_config to block unwanted tunnels.
  • Remove or replace the restrict keyword from authorized_keys entries or enforce stricter key policies.

Generated by OpenCVE AI on October 8, 2026 at 14:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8928-1 OpenSSH vulnerabilities
Ubuntu USN Ubuntu USN USN-8937-1 OpenSSH vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Title OpenSSH restrict keyword ineffective for tunnel forwarding openssh: OpenSSH: Security restriction bypass via unenforced restrict directive in tunnel forwarding
Weaknesses CWE-267
References
Metrics threat_severity

None

threat_severity

Low

Type Values Removed Values Added
Title OpenSSH restrict keyword ineffective for tunnel forwarding
Type Values Removed Values Added
Description In sshd in OpenSSH before 10.6, the restrict keyword (in authorized_keys) was supposed to be applicable to tunnel forwarding but was not, a different vulnerability than CVE-2026-73283.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-670
CPEs cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
Vendors & Products Openbsd
Openbsd openssh
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-267

    Privilege Defined With Unsafe Actions

  • CWE-670

    Always-Incorrect Control Flow Implementation

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 7, 2026, 4:20 PM
Reserved
Oct 6, 2026, 8:57 PM
Status
Analyzed
Published
Oct 6, 2026, 9:17 PM
Modified
Oct 13, 2026, 2:39 PM
Severity
Low
Public date
Oct 6, 2026, 8:57 PM