Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to RouterOS SSH port 22
-
DeliverySend SSH_MSG_KEXINIT rekey before authentication
-
ExploitServer skips userauth state, enters connection layer
-
ExecutionOpen SSH session channel
-
PersistIssue exec request against file namespace
-
ImpactExfiltrate support/config files or overwrite managed files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Workflow enforcement
|
| Exploitation Conditions | SSH service must be enabled and network-reachable on the target RouterOS device; SSH is enabled by default in RouterOS and is commonly exposed on management or WAN interfaces. No credentials, no prior session, no non-default configuration, and no user interaction are required - the bypass is triggered purely by the standard SSH rekey message sequence before authentication completes. Exploitation is bounded by the RouterOS managed file namespace (the /files/ virtual directory and support file generation facilities) and does not provide access to the underlying Linux shell or raw OS filesystem. Only RouterOS versions prior to 6.49.21, 7.23.4 (Long-term), and 7.24.2 (Stable) are vulnerable; devices on up-to-date firmware in any channel are unaffected. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms fully remote, unauthenticated, zero-complexity exploitation with no required network positioning or user interaction. The vendor-rated score of 6.9 with VC:L/VI:L/VA:N reflects that impact is scoped to the RouterOS managed file namespace rather than full OS shell access; however, RouterOS support output files (supout.rif) are comprehensive diagnostic exports that include interface configurations, routing tables, firewall ruleset dumps, VPN parameters, and potentially credential-adjacent data, suggesting real-world confidentiality impact may exceed the vendor's L rating. A publicly available PoC exists alongside a detailed reverse-engineering writeup of the silent patch at npratley.net, significantly lowering exploitation complexity. CERT-PL published dedicated research and a second post explicitly framing MikroTik RouterOS vulnerabilities as actively exploited - while not yet confirmed in CISA KEV, this is a credible threat signal. MikroTik's large ISP, SMB, and home-network install base, combined with SSH commonly exposed on management or WAN interfaces, creates a realistic mass-exploitation surface for automated scanning campaigns. |
| Exploit ScenarioDerived | An attacker scans for RouterOS devices with SSH exposed on TCP/22, connects with a modified SSH client, completes the initial key exchange, then immediately sends SSH_MSG_KEXINIT to initiate a client-requested rekey before any authentication exchange occurs. The RouterOS server erroneously transitions to the connection protocol state, whereupon the attacker opens a session channel, sends exec requests to enumerate and download files from the managed namespace, and exfiltrates support output bundles containing configuration and diagnostic data without any valid credentials. A public PoC exists and the patch logic has been reverse-engineered and documented, enabling scripted, automated exploitation at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 05, 2026
SSH authentication bypass in MikroTik RouterOS allows any unauthenticated network attacker to skip the entire SSH user-authentication phase by triggering a client-requested rekey, causing the server to advance directly into the connection protocol and accept session channel and exec requests. The result is unauthenticated file creation, overwrite, and exfiltration within the RouterOS managed file namespace - including support bundles containing configuration and diagnostic data. Publicly available exploit code exists, CERT-PL has published dedicated research, and a companion CERT-PL post titled 'vulnerabilities-in-mikrotik-routeros-actively-exploited' suggests observed exploitation in the wild, though CISA KEV listing is not confirmed in the available data.
RemediationAI
Upgrade RouterOS immediately to 6.49.21 (Long-term), 7.23.4 (Long-term), or 7.24.2 (Stable) as directed by the MikroTik advisory at https://mikrotik.com/supportsec/september-2026-vulnerability/. As an interim measure pending upgrade, restrict SSH access to trusted management IP ranges using RouterOS IP Firewall Filter rules (e.g., add a chain=input action=drop protocol=tcp dst-port=22 src-address=!<mgmt-subnet> rule) - this blocks network-level exploitation because the vulnerability requires an active SSH connection, but does not eliminate the underlying flaw. Disabling the SSH service entirely under IP → Services and using Winbox (TCP 8291) or HTTPS management instead fully removes this attack vector on devices where SSH is not operationally required; note those interfaces carry their own access-control requirements. Review RouterOS /files/ namespace for unexpected files that may have been placed by prior exploitation.
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
RouterOS is MikroTik's proprietary network operating system, deployed on RouterBOARD hardware and as a Cloud Hosted Router (CHR). The SSH protocol (RFC 4253) mandates a strict state machine: transport/key-exchange → user-authentication → connection. Rekeying (RFC 4253 §9) is a legitimate transport-layer mechanism to refresh session keys and must not alter the authentication state. RouterOS SSH failed to enforce this boundary: after processing a client-initiated SSH_MSG_KEXINIT rekey, the server advanced to the connection protocol regardless of whether user authentication had completed, allowing connection-layer operations (SSH_MSG_CHANNEL_OPEN, SSH_MSG_CHANNEL_REQUEST exec) in an unauthenticated state. CWE-841 (Improper Enforcement of Behavioral Workflow) precisely captures this root cause. The affected CPE cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:* covers all RouterOS builds across both the 6.x long-term and 7.x stable/development branches prior to the patched releases.
Know when Routeros 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
PR:N confirmed by the auth-bypass nature; C:H because support output files contain full configuration and credential-adjacent data; I:L since writes affect the file namespace but not the running configuration directly.
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
Lifecycle Timeline
3DescriptionCVE.org
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 (Lont-term), 7.23.4 (Lont-term) and 7.24.2 (Stable)
Articles & Coverage 2
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Privilege escalation in MikroTik RouterOS lets a remote, unauthenticated attacker abuse the SSH login helper to rewrite
Remote unauthenticated exploitation of MikroTik RouterOS's Bandwidth Test (btest) service allows two distinct attacks: k
A vulnerability in the network stack of MikroTik Version 6.38.5 released 2017-03-09 could allow an unauthenticated remot
The MikroTik Router hAP Lite 6.25 has no protection mechanism for unsolicited TCP ACK packets in the case of a fast netw
The container package in MikroTik RouterOS 7.4beta4 allows an attacker to create mount points pointing to symbolic links
A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Rated
Authentication bypass in MikroTik RouterOS lets a remote unauthenticated attacker log in over SSH as an authorized user
MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated
Mikrotik RouterOs before stable v7.5 was discovered to contain an out-of-bounds read in the hotspot process. Rated high
Mikrotik RouterOS before 6.42.7 and 6.40.9 is vulnerable to stack buffer overflow through the license upgrade interface.
Unauthenticated file read in MikroTik RouterOS WebFig exposes root-owned configuration files - including credential stor
The winbox service in MikroTik RouterOS 5.15 and earlier allows remote attackers to cause a denial of service (CPU consu
Same technique Authentication Bypass
View allVendor StatusVendor
SUSE
| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-72027
GHSA-pqp3-gjgf-83cf
NVD
CVE.org
CISA KEV
EPSS
Vulnrichment
VulDB
Exploit-DB