CVE-2026-67279

SSH Pre-Authentication Rekey State Bypass in MikroTik RouterOS

Published Sep 5, 2026 CVSS 4.0 · 6.9 Medium EPSS 6.5% KEV · Listed
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)

Analysis

AI-generated

Technical 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 6% indicates a 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.

Remediation

No solution or workaround provided in the CVE record.

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 November 26, 2026 at 07:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Type Values Removed Values Added
Metrics kev

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

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'}

Type Values Removed Values Added
Metrics ssvc

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

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)
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'}

Weaknesses
  • CWE-841

    Improper Enforcement of Behavioral Workflow

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
Sep 26, 2026, 3:55 AM
Reserved
Jul 29, 2026, 11:59 AM
Status
Analyzed
Published
Sep 5, 2026, 8:17 PM
Modified
Sep 26, 2026, 4:17 AM