Description
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)
Published: 2026-09-05
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: Yes
Impact: Unauthenticated Remote Command Execution via SSH Rekey Bypass
Action: Immediate Patch
AI Analysis

Impact

RouterOS SSH incorrectly processes a client‑requested rekey before authenticating the user. The server proceeds to the SSH connection stage, allowing an unauthenticated client to open a session channel and issue exec requests. The execution path permits the creation, overwrite, and reconstruction of files in the RouterOS managed file namespace, including critical support files that hold configuration and diagnostic data. As a result, an attacker can effectively modify system files without any authentication, compromising confidentiality, integrity, and potentially the availability of routing services.

Affected Systems

Vendors are MikroTik, product is RouterOS. All builds released before the security patches are vulnerable. The fix is provided in the following releases: 6.49.21 (Long‑term), 7.23.4 (Long‑term) and 7.24.2 (Stable). Any earlier versions of RouterOS are impacted.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity vulnerability, and the EPSS score of 0.0071 indicates a very low exploitation probability. The vulnerability is listed in the CISA KEV catalog. The likely attack vector is remote over SSH: an attacker initiates a connection, requests a rekey, then sends an exec command that results in file system modifications. The lack of authentication at the rekey point is the key weakness that allows this bypass.

Generated by OpenCVE AI on September 26, 2026 at 06:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade RouterOS to at least version 6.49.21 (Long‑term), 7.23.4 (Long‑term), or 7.24.2 (Stable) to apply the patch that corrects the SSH rekey handling.
  • If an upgrade cannot be performed immediately, restrict SSH access to trusted management networks and block connections from untrusted IP ranges.
  • Where feasible, disable the SSH rekey option or enforce strict key‑based authentication only, ensuring that no rekey request can bypass authentication before a session is established.

Generated by OpenCVE AI on September 26, 2026 at 06:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 16:30:00 +0000


Fri, 25 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics kev

{'dateAdded': '2026-09-25T00:00:00+00:00', 'dueDate': '2026-09-28T00:00:00+00:00'}


Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:*
Metrics cvssV3_1

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


Tue, 08 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 05 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
Description 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) 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)

Sat, 05 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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)
Title SSH Pre-Authentication Rekey State Bypass in MikroTik RouterOS
First Time appeared Mikrotik
Mikrotik routeros
Weaknesses CWE-841
CPEs cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:*
Vendors & Products Mikrotik
Mikrotik routeros
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Mikrotik Routeros
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-09-26T03:55:45.145Z

Reserved: 2026-07-29T11:59:30.538Z

Link: CVE-2026-67279

cve-icon Vulnrichment

Updated: 2026-09-08T15:31:30.701Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-05T20:17:18.390

Modified: 2026-09-26T04:17:47.273

Link: CVE-2026-67279

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T06:45:06Z

Weaknesses
  • CWE-841

    Improper Enforcement of Behavioral Workflow