SSH Pre-Authentication Rekey State Bypass in MikroTik RouterOS
Exploited in the wild, in CISA KEV since 25 Sep 2026 (due 28 Sep 2026), with 2 public exploits. Fixed in RouterOS 6.49.21, RouterOS 7.23.4 and RouterOS 7.24.2.
RouterOS SSH enters the connection protocol after a client-requested rekey even though user authentication was never attempted, allowing an unauthenticated client to open a session channel and send an exec request. On affected builds the server dispatches the command, enabling unauthenticated creation, overwrite, and reconstruction of files in the RouterOS managed file namespace, including support files containing configuration and diagnostic data.This issue was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| MikroTik | RouterOS | >=6.0.0 <6.49.21, >=7.0.0 <7.23.4, >=7.24 <7.24.2 | 6.49.21, 7.23.4, 7.24.2 |
Exploit evidence
2 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in RouterOS, strongest first
Embed
A live severity badge for an advisory, README or ticket