MikroTik Patches RouterOS and Adds Compromise Check
CERT Polska confirms attacks through internet-exposed SSH. Install a fixed build, restrict management access, and investigate the published log and account indicators.

Attackers are taking control of MikroTik routers through internet-exposed SSH, CERT Polska reports. The MikroTrick chain combines SSH session-handling and privilege-handling flaws. MikroTik has released fixed RouterOS builds across its release channels, together with a compromise check that flags devices needing investigation.
MikroTik’s September 3 advisory originally listed four builds: RouterOS 7.25 beta 3, 7.24.2, 7.23.4 and 6.49.21. Its October 6 update says the 7.24.2 and 7.23.4 fixes for CVE-2026-67278 were incomplete; RouterOS 7 operators on those builds need 7.24.3 stable or 7.23.6 long-term or later. Its updated guidance says, “Make sure SSH is not open to any untrusted networks.” Default configurations block internet access to SSH; administrators who opened it should restrict access to trusted addresses or use a VPN such as WireGuard for management.
Two SSH flaws enable takeover
CERT Polska’s vulnerability records identify CVE-2026-67279 as a pre-authentication SSH session bypass: a client can request a rekey, then open a command channel without completing login. Separately, CVE-2026-67276 lets an attacker who knows an account’s username and authorized RSA modulus authenticate without its private key. CVE-2026-86060 concerns usernames with a prohibited leading character and manipulation of the resulting session’s privileges.
CERT Polska confirms exploitation of the two-flaw chain; the published patches prevent the observed attacks.
Since publication, CISA has listed CVE-2026-86060 and the separate bandwidth-test flaw CVE-2026-67277 in its Known Exploited Vulnerabilities catalog. Assess internet exposure and preserve evidence for forensic triage, including on routers with a reachable bandwidth-test service. The latter listing does not establish that bandwidth-test was used in CERT Polska’s observed SSH chain.
The vendor also highlights CVE-2026-67277, an unauthenticated bandwidth-test flaw involving memory disclosure and possible restart. CERT Polska’s complete disclosure covers six vulnerabilities, including additional SSH and certificate-validation issues. MikroTik now specifies that CVE-2026-67281 permits unauthenticated WebFig file reads, including credential files, on RouterOS 7.20 and newer; keep WebFig as well as SSH off untrusted networks. The sources do not identify a threat actor or quantify compromised routers. SSH exposure is the observed entry point. Those first-fixed builds cover the reported SSH takeover chain, but CERT Polska lists later RouterOS 7 fixes for CVE-2026-67278: 7.23.6 long-term and 7.24.3 stable.
Flagged routers need investigation
RouterOS inspects configuration at startup, disables recognized suspicious entries and sets Flagged status. Check the Log section for a critical Flagged entry and inspect flagged in /system/device-mode/print. The marker requires investigation; it does not identify which vulnerability was used.
An unflagged result provides less assurance than it may appear to. MikroTik directs administrators to inspect the configuration for unknown scripts, users and anything else they do not recognize even when RouterOS does not flag the device. The automatic check therefore supplies one useful alert, while the manual review remains part of the vendor’s required response.
CERT Polska reports these attack log patterns:
login failure for user -2 from <ip> via ssh
user <name> added by ssh:-2@<ip>
It links successful attacks since at least September 2 and creation of a privileged ops account to 82.192.72[.]4; 103.102.31[.]18 was associated with attempts. Investigate these traces promptly. Their absence cannot exclude compromise, and the complete set of Flagged detection rules remains undisclosed.

Figure details
Upgrade affected RouterOS builds before checking Flagged status. A flagged device produces a critical log entry and follows the vendor's investigation guidance. An unflagged device still needs checks for unknown users, scripts and other settings. Both paths lead to resolving unexplained configuration changes; an unflagged result alone does not prove the router is clean.
Four builds contain the fix
The correct build depends on the release channel. MikroTik lists 7.25 beta 3 for the beta channel, 7.24.2 for stable, 7.23.4 for the RouterOS 7 long-term line and 6.49.21 for the RouterOS 6 long-term line. These are MikroTik’s initially listed builds. CERT Polska separately lists 7.23.6 long-term and 7.24.3 stable for CVE-2026-67278 on RouterOS 7.
A fleet may include current stable routers and long-lived devices on older branches, so match each router to its branch’s fixed build. Inventory the installed version and channel before scheduling the change, then compare each router with the corresponding fixed build. A generic “RouterOS 7” result is insufficient when 7.23 long-term and 7.24 stable have different first-fixed versions.
MikroTik says the device should offer the update through Check for updates. If patching must wait, CERT Polska advises disabling exposed services or restricting SSH, WWW/WWW-SSL and bandwidth-test to trusted management networks. Avoid initiating TLS connections or using the built-in /system ssh and /system ssh-exec clients on an unpatched router. These temporary restrictions do not replace upgrading.
Verify the configuration state
After the reboot, confirm the installed RouterOS version meets the applicable issue-specific floor, including 7.23.6 long-term or 7.24.3 stable for CVE-2026-67278 on RouterOS 7, and that untrusted networks cannot reach its management services. Check the critical log, Flagged state and published SSH patterns. Inspect unknown users, scripts and settings, including scheduler tasks, proxies and tunnels, on unflagged routers too.
If evidence suggests compromise, isolate the router and preserve logs and configuration before a reset. CERT Polska recommends rebuilding from a trusted configuration and rotating passwords, keys and other secrets; avoid blindly restoring a suspect backup. Retain Flagged status until analysis and evidence preservation are complete.
Before returning a router to service, verify the fixed build and restricted management access, and resolve unexplained users, scripts or settings. A Flagged event or suspicious configuration change calls for incident investigation even after patching. The software update prevents the reported attacks; it does not remove the need to investigate an earlier compromise.
Updates
- : Added the disclosed RouterOS vulnerabilities, confirmed exploitation, attack indicators, and the latest exposure and recovery guidance from MikroTik and CERT Polska.
Corrections
- : Clarified that the critical log entry records Flagged status; the brief and figure previously described it as recording tampering.
- : Corrected RouterOS 7 fix guidance: CERT Polska names 7.23.6 long-term and 7.24.3 stable for CVE-2026-67278. CISA also listed two flaws in KEV.
- : Corrected the SSH flaw named in the MikroTrick chain to CVE-2026-67279; CVE-2026-67276 is a separate RSA authentication flaw.
- : Corrected the original RouterOS fix-build description: 7.24.2/7.23.4 incompletely fixed CVE-2026-67278. Added MikroTik WebFig exposure and access guidance.