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: n/a
KEV: No
Impact: n/a
Action: n/a
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 value is not available, so the current probability of exploitation cannot be quantified. The vulnerability is not 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 5, 2026 at 21:50 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 5, 2026 at 21:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-05T20:40:29.029Z

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

Link: CVE-2026-67279

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-09-05T21:16:50.613

Link: CVE-2026-67279

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T22:30:17Z

Weaknesses
  • CWE-841

    Improper Enforcement of Behavioral Workflow