Introduction

Attackers are exploiting MikroTik routers with internet-exposed SSH to gain full administrative control without authentication, according to an attack warning published by CERT Polska on September 5, 2026.

This is a critical security threat for organizations and individuals using MikroTik RouterOS devices. Attackers can gain full administrative control over affected routers without needing any credentials, potentially leading to network compromise, data theft, and further attacks.

Attackers are gaining full administrative control over MikroTik routers through internet-exposed SSH without any authentication. This affects a wide range of RouterOS versions.

What Is Happening?

CERT Polska has issued an urgent warning about attackers actively exploiting a vulnerability chain in MikroTik routers. The attackers are able to bypass authentication and gain full administrative access through internet-exposed SSH services.

Key details:

The vulnerability chain has been named "MikroTrick" by CERT Polska. The exact combination of two flaws that enable the attack has not been publicly detailed.

Default firewall protection:

Affected MikroTik RouterOS Versions

CERT Polska has identified a wide range of affected RouterOS versions. The following table shows the affected versions and the corresponding fixed releases:

Affected Range Initial Security Fix Update Guidance
From 6.0.0 below 6.49.21 6.49.21 RouterOS 6 security release
From 7.0.0 below 7.23.4 7.23.4 Use 7.23.5 on the long-term channel
From 7.24 below 7.24.2 7.24.2 Stable channel security release
No development range listed 7.25beta3 Development channel fix

The 7.23.5 regression fix addresses an IPv6 DHCP problem introduced in 7.23.4 while retaining the security update.

How the Attack Works

While the exact technical details of the vulnerability chain remain undisclosed, CERT Polska has provided the following information:

Attack stages:

  1. Attacker identifies a MikroTik router with SSH exposed to the internet
  2. Attacker exploits the vulnerability chain to bypass authentication
  3. Attacker gains full administrative access without credentials
  4. Attacker can modify configuration, create accounts, and deploy malware

The attacker does not need credentials to gain administrative access. Any MikroTik router with internet-exposed SSH and an affected version is at risk.

Signs of Compromise

CERT Polska has identified several indicators of compromise (IOCs) that administrators should look for:

How to check for compromise:

  1. Check the logs — review system logs for suspicious activity
  2. Run the command — /system/device-mode/print to inspect the device status
  3. Look for Flagged status — RouterOS flags a device when startup checks detect suspicious configuration
  4. Inspect the configuration — check for unknown users, scripts, and other unrecognized changes

CERT also points to unexpected highly privileged ops accounts and account-creation logs containing ssh:-2@ as signs to investigate.

What to Do Immediately

If you have a MikroTik router, take these steps immediately:

1. Update RouterOS

2. Restrict Access to Management Services

3. Avoid Risky Actions

These temporary restrictions cover the broader set of vulnerabilities and do not replace the update. You must update as soon as possible.

Recovery Steps if Compromised

If you suspect your router has been compromised, CERT Polska recommends the following recovery steps:

Step 1: Isolate and Preserve

  1. Isolate the router from the network
  2. Preserve logs and configuration before resetting
  3. Export and download the files (CERT's preservation guide explains how)
  4. Do not clear Flagged before preserving evidence and completing analysis

Step 2: Reset and Rebuild

  1. Restore factory settings
  2. Rebuild using a trusted, verified configuration
  3. Do not blindly restore a full backup from the potentially compromised device

Step 3: Update Credentials

  1. Change passwords for all accounts
  2. Regenerate keys and other secrets in use
  3. Ensure all credentials are strong and unique

If the warning, logs, or configuration suggest compromise, follow these recovery steps. Do not clear Flagged before preserving the evidence and completing the analysis.

MikroTik's History of Security Issues

MikroTik routers have been targeted by attackers multiple times over the years. The current "MikroTrick" vulnerability chain is the latest in a series of security issues:

MikroTik routers are popular in both home and enterprise environments. Their security posture is critical for network security.

Final Thoughts

The active exploitation of MikroTik routers through internet-exposed SSH without authentication represents a critical security threat. With attackers actively scanning for vulnerable devices since at least September 2, 2026, organizations and individuals must take immediate action.

Key takeaways:

If your organization uses MikroTik routers and needs assistance with security assessment, patching, or recovery, contact SystemLogicIT for expert guidance.

SL
SystemLogicIT Team
Network Security & Infrastructure Experts
Helping organizations secure their network infrastructure, routers, and IoT devices against emerging threats.