CVE-2026-106586
OpenSSH restrict keyword ineffective for tunnel forwarding
No exploitation reported by the sources we read.
- Published2026-10-06
- Fixed in10.6
- WeaknessCWE-670
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-10-0621:17CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-106586?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-106586?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.6 | < 10.6 | 10.6 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
openssh: OpenSSH: Security restriction bypass via unenforced restrict directive in tunnel forwarding
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Fix
- Update OpenSSH to 10.6
- Vendor fix Red Hat Product Security RHSA-2026:82247 · 22 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Workaround from the vendor Red Hat Product Security RHSA-2026:82247 · 22 productsThis flaw only affects servers where tunnel forwarding has been explicitly enabled; PermitTunnel is disabled by default in OpenSSH sshd. As a workaround, tunnel forwarding can be disabled by setting "PermitTunnel no" in /etc/ssh/sshd_config (or removing any configuration that enables it) and restar…
Advisories and patches
- www.openssh.orgRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Published
- 2026-10-06
- Last Modified
- 2026-10-13
- NVD status
- Analyzed
Frequently asked questions
What is CVE-2026-106586?
Is CVE-2026-106586 actively exploited?
What is the CVSS score for CVE-2026-106586?
Running OpenSSH? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-106552same advisoryOpenSSH SFTP Recursive Copy Directory Traversal
- CVE-2026-106585same advisoryOpenSSH Unchecked Packet Length During Decompression Enables Resource Exhaustion
- CVE-2026-106583same advisoryCommand Injection via Special Characters in Command-Line Username
- CVE-2026-21589KEVsame week
- CVE-2026-93674same weekLangflow OSS is affected by multiple vulnerabilities
- CVE-2026-94579same week
- CVE-2026-105110same weekIskratel Innbox Unauthenticated Remote Code Execution via login.xgi CLI Parameter
- CVE-2026-87666same week