Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate via SSH with a 'restrict'-marked key
-
DeliveryRequest tun-device tunnel forwarding (-w flag)
-
Exploitsshd fails to enforce restrict policy against tunnel subsystem
-
ExecutionUnauthorized tunnel established
-
ImpactRoute traffic through server beyond intended scope
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Always-incorrect control flow
|
| Exploitation Conditions | Three specific conditions must simultaneously be true for this bypass to be relevant: (1) the target system runs OpenSSH sshd in any version prior to 10.5; (2) the attacking user possesses a valid private key whose corresponding public key entry in |
| Impact | All available signals converge on very low real-world risk. The CVSS 3.1 base score of 2.5 (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N) reflects that exploitation requires local access, high attack complexity (specific authorized_keys configuration with |
| Exploit ScenarioDerived | An SSH user whose public key is listed in |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
OpenSSH sshd before version 10.5 fails to enforce the restrict keyword in authorized_keys against tunnel forwarding, allowing a constrained SSH key holder to establish tun-device tunnels that the administrator explicitly intended to block. The flaw affects all OpenSSH releases prior to 10.5 and is classified as a policy-enforcement bypass with low integrity impact. No active exploitation is confirmed per SSVC (exploitation: none) and the vulnerability is absent from the CISA KEV catalog, placing this firmly in the low-urgency tier despite OpenSSH's near-ubiquitous deployment footprint.
RemediationAI
The primary fix is upgrading sshd to OpenSSH 10.5 or later, which correctly enforces the restrict keyword against tunnel forwarding. Release notes and download information are at https://www.openssh.org/releasenotes.html#10.5. As a compensating control on systems where upgrading immediately is not feasible, administrators should explicitly add the no-tunnel option to each affected authorized_keys entry alongside restrict (e.g., restrict,no-tunnel ssh-ed25519 AAAA...). This makes the tunnel restriction explicit and does not depend on the restrict meta-keyword's implicit coverage. The trade-off is that this requires auditing all authorized_keys files across managed systems. There is no known adverse side effect to adding the explicit no-tunnel directive.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenSSH's authorized_keys file supports per-key option directives, including the restrict meta-keyword introduced to conveniently apply a hardened set of restrictions (disabling port forwarding, agent forwarding, X11 forwarding, PTY allocation, and user RC). CWE-670 (Always-Incorrect Control Flow Implementation) identifies the root cause: the code path that evaluates restrict at session setup correctly gates most subsystems but contains a logic defect that bypasses enforcement for tunnel-device forwarding (-w / PermitTunnel). As a result, even though restrict is semantically documented to cover tunnel forwarding, the sshd session handler does not honor that intent for this subsystem. Affected versions span the entire OpenSSH lineage prior to 10.5, as confirmed by EUVD CPE data (OpenSSH 0 < 10.5).
Know when Openssh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Exploitation requires an authenticated SSH session with a 'restrict'-marked authorized_keys entry (PR:L, AC:H); only a tunnel-policy bypass occurs with no confidentiality or availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
In sshd in OpenSSH before 10.5, the restrict keyword (in authorized_keys) was supposed to be applicable to tunnel forwarding but was not.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remot
OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. Rated medium se
sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing, uses BLOWFISH hashing on a static
The kbdint_next_device function in auth2-chall.c in sshd in OpenSSH through 6.9 does not properly restrict the processin
The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password a
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. Rated medium severity (CVSS 6.8), this
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The resend_bytes function in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2 allows remote serv
Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to
In OpenSSH 7.9, due to accepting and displaying arbitrary stderr output from the server, a malicious server (or Man-in-T
EUVD-2026-56892
GHSA-97p6-qxmv-h7jm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB