MikroTrick: Attackers exploit chained MikroTik RouterOS SSH flaws for unauthenticated router takeover; CISA adds two CVEs to KEV
CERT Polska confirmed active exploitation of chained MikroTik RouterOS SSH flaws (CVE-2026-67276 + CVE-2026-86060, 'MikroTrick') enabling full unauthenticated takeover of internet-exposed routers; MikroTik patched six flaws and CISA added two CVEs to its KEV…
CERT Polska discovered six MikroTik RouterOS vulnerabilities and confirmed attackers are actively exploiting a chain dubbed 'MikroTrick': CVE-2026-67276 (CVSS 9.2, CWE-347 improper cryptographic signature verification — the SSH server compares only RSA key moduli, allowing an attacker who knows a username and public modulus to forge signatures and open an SSH command channel without the private key) chained with CVE-2026-86060 (CVSS 9.2, CWE-88 argument injection — specially crafted usernames with special characters let attackers manipulate the trusted RouterOS policy mask and escalate to full/root administrative privileges). A third flaw, CVE-2026-67277 (CVSS 8.8, CWE-306 missing authentication), allows unauthenticated attackers to leak kernel memory or crash devices via the bandwidth-test (btest) service. SecurityWeek reports three additional flaws were fixed: CVE-2026-67278, CVE-2026-67279, and CVE-2026-67281; per CSO Online the six vulnerabilities affect the SSH server/client, bandwidth-test service, X.509 handling, and WebFig. Fixes shipped September 3, 2026 in RouterOS 7.25beta3, 7.24.2 (Stable), 7.23.4 (Long-Term), and 6.49.21, adding a startup configuration-scanning compromise-detection mechanism that disables suspicious entries and marks unauthorized changes with a 'Flagged' status (which signals possible compromise but does not guarantee a device is clean). Shadowserver counted approximately 122,500 MikroTik devices with internet-exposed SSH as of September 5, concentrated in Brazil, the US, and Indonesia (SecurityWeek cites 'over 120,000'). CERT Polska confirmed exploitation since September 2, with attackers creating a privileged 'ops' account from IPs 82.192.72.4 and 103.102.31.18. On September 10, 2026, CISA added CVE-2026-67277 and CVE-2026-86060 to its Known Exploited Vulnerabilities catalog, giving federal agencies until September 13 to apply mitigations, and designated CVE-2026-86060 as requiring forensic triage under Binding Operational Directive 26-04. Canada's Cyber Centre issued advisories AV26-887 and AL26-020 urging immediate updates. Compromised edge routers enable DNS hijacking, traffic interception, remote-access tunnels, firewall/routing changes, persistence, and use as pivots for lateral attacks. Recommended mitigations: restrict SSH to trusted IPs or VPN, disable or limit SSH, WWW/WWW-SSL, and bandwidth-test services until patched, rotate keys and passwords, audit logs and 'Flagged' devices, and isolate, back up, factory…
- MikroTrick chain: CVE-2026-67276 (CVSS 9.2, SSH authentication bypass via RSA modulus-only comparison/signature forgery) + CVE-2026-86060 (CVSS 9.2, privilege escalation via crafted special-character usernames) gives unauthenticated full…
- CVE-2026-67277 (CVSS 8.8, CWE-306): missing authentication in the bandwidth-test service enables unauthenticated kernel memory disclosure or device crashes
- Six total RouterOS vulnerabilities fixed: CVE-2026-67276, CVE-2026-86060, CVE-2026-67277, plus CVE-2026-67278, CVE-2026-67279, CVE-2026-67281; affected components include SSH server/client, bandwidth-test, X.509 handling, and WebFig
- Patched versions released September 3, 2026: RouterOS 7.25beta3, 7.24.2, 7.23.4, and 6.49.21; patches add startup compromise detection that disables suspicious config entries and applies a 'Flagged' marker
- Shadowserver measured ~122,500 MikroTik devices with internet-exposed SSH as of September 5, 2026 (SecurityWeek reports 'over 120,000'); concentrations in Brazil, the US, and Indonesia
- Exploitation confirmed by CERT Polska since September 2, 2026; attackers created a privileged 'ops' account from IPs 82.192.72.4 and 103.102.31.18
- CISA added CVE-2026-67277 and CVE-2026-86060 to the KEV catalog on September 10, 2026, with a September 13 federal remediation deadline; CVE-2026-86060 requires forensic triage under BOD 26-04
- Canadian Centre for Cyber Security advisories AV26-887 and AL26-020 urge immediate updates, prioritizing internet-exposed SSH systems and reviewing logs for 'Flagged' indicators
Coverage timelineoldest first · each row is one article
- · 10d agoHackers exploit RouterOS flaws to hijack MikroTik devices without authentication
Help Net Security· 82
CERT Polska confirms attackers exploit chained MikroTik RouterOS SSH flaws to hijack devices without authentication; patches released in four RouterOS versions.
Vulnerabilities in this storyAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-67276 | SSH RSA Authorized-Key Bypass in MikroTik RouterOS 7.x MikroTik RouterOS 7.x fails to compare the complete RSA public key when matching an SSH authentication attempt against an authorized user key, checking the key type and modulus but omitting the exponent. Because RouterOS verifies the signature against the client-supplied key, an attacker who knows the modulus of an authorized RSA key can present a key with exponent 1 and a forged signature and be accepted as that user without possessing the private key. Successful exploitation opens an SSH command channel as the target user, giving the attacker control of the router without a password or key. Only the RouterOS 7.x branch is affected, with fixes released in 7.23.4 (Long-term) and 7.24.2 (Stable). A public proof-of-concept is available and related reporting describes active campaigns hijacking MikroTik routers using chained RouterOS flaws, though this CVE is not in CISA KEV and its 30-day EPSS probability is low (0.2%). Do: Upgrade affected devices to RouterOS 7.23.4 (Long-term) or 7.24.2 (Stable) or later. Until patched, restrict SSH access to trusted management networks and, if feasible, remove or replace RSA authorized keys with other key types. Check devices for signs of compromise highlighted in recent reporting, such as an unexpected SSH user named '-2'. | 9.2 | <1% |
| mass~1M RouterOS 7.x devices (installed base in the millions; hundreds of thousands internet-exposed, with SSH a standard management service) | ||
| CVE-2026-86060 +1 in the same advisory: …67277 | Argument-Injection Flaw in MikroTik RouterOS SSH Login Enables Privilege Escalation CVE-2026-86060 is an argument-injection flaw (CWE-88) in MikroTik RouterOS's SSH login path: when a login supplies a username beginning with a prohibited character, the RouterOS login helper mishandles the argument, allowing the trusted RouterOS policy mask to be changed and privileges to be escalated. An unauthenticated attacker only needs the ability to reach the router's SSH service, since exploitation happens during the SSH login process itself. By altering the policy mask the attacker gains elevated rights on the device, and news reports indicate attackers have used this technique — including logins with usernames such as '-2' — as part of chains that take over routers without needing a password. Any RouterOS deployment running versions before the fixes (6.49.21 Long-term, 7.23.4 Long-term, 7.24.2 Stable) with SSH enabled or reachable is affected, with internet-exposed SSH at highest risk. Multiple outlets report the RouterOS flaws are being actively exploited in the wild, although no public proof-of-concept is known and the flaw is not yet in CISA KEV. Do: Upgrade RouterOS to 6.49.21 (Long-term), 7.23.4 (Long-term) or 7.24.2 (Stable) as applicable. Until patched, restrict SSH (TCP 22) to trusted management networks or disable the SSH service if unused, and review authentication logs and user/group policy settings for tampering — reports indicate attackers log in with usernames beginning with '-' (e.g., '-2'). | 9.2 group max | 1% | KEV PoC ×2 |
| mass≈1M+ devices: hundreds of thousands to over a million RouterOS devices are routinely observed internet-exposed, and far more expose SSH to the LAN | |
| CVE-2026-67278 | X.509 Signature Forgery Enables TLS Impersonation in MikroTik RouterOS 7.x MikroTik RouterOS 7.x improperly verifies RSA/PKCS#1 v1.5 signatures when validating X.509 certificate chains, accepting malformed signatures (CWE-347, Improper Verification of Cryptographic Signature). Because the RouterOS trust store includes a root CA whose public key uses the small exponent e=3, an attacker who can control or redirect one of the router's outbound TLS connections (for example via a network man-in-the-middle position, DNS hijacking, or a compromised upstream path) can forge an intermediate CA signed with the root's public key, without ever holding its private key, and mint trusted certificates for arbitrary hostnames. This lets the attacker impersonate TLS servers the router connects to, with low confidentiality and integrity impact per the CVSS 4.0 score of 6.3 (medium), which reflects the network vector, no privileges required, but a high attack requirement of holding such a network position. Any deployment running RouterOS 7.x before 7.23.4 (Long-term) or 7.24.2 (Stable) is affected, spanning home/SOHO, enterprise, and ISP/WISP infrastructure; the 6.x branch is not listed as affected. No public proof-of-concept is known, the issue is not in CISA's KEV, and EPSS gives a 0.2% probability of exploitation within 30 days, although related headlines note other MikroTik flaws have recently been chained to hack routers. Do: Upgrade RouterOS 7.x to 7.23.4 (Long-term track) or 7.24.2 (Stable track). Until patched, reduce the chance an attacker can sit on the router's outbound TLS path by hardening DNS resolvers, avoiding untrusted upstream networks, and restricting management-plane exposure, since exploitation requires controlling or redirecting an outbound connection. Given other RouterOS flaws have recently been chained in router hijacks, prioritize patching internet-exposed and ISP/WISP infrastructure devices. | 6.3 | <1% |
| massseveral million deployed devices worldwide, with hundreds of thousands of RouterOS 7.x units visible on the public internet | ||
| CVE-2026-67279 | Unauthenticated SSH Session Bypass Enables File Writes in MikroTik RouterOS CVE-2026-67279 is an authentication-ordering flaw (CWE-841) in the SSH server of MikroTik RouterOS: after a client-requested SSH rekey, the server enters the connection protocol even though user authentication was never attempted. An unauthenticated SSH client can therefore open a session channel and send an exec request, and on affected builds the server dispatches the command without any credentials. This lets the attacker create, overwrite, and reconstruct files in the RouterOS managed file namespace, including support files that contain configuration and diagnostic data. Any MikroTik device running RouterOS builds older than the fixed releases is affected, although remote exploitation requires the SSH service to be reachable by the attacker. No public proof-of-concept is known, the issue is not in CISA's KEV catalog, and EPSS estimates a 0.4% probability of exploitation in the next 30 days, so no exploitation is currently known. Do: Upgrade RouterOS to 6.49.21 (Long-term v6), 7.23.4 (Long-term v7), or 7.24.2 (Stable). Until patched, restrict SSH access to trusted management networks/VPN or disable the SSH service where it is not needed. Review the RouterOS file list and SSH logs for unexpected or reconstructed files and session activity, since attackers have recently chained multiple MikroTik flaws against routers. | 6.9 | <1% |
| massmillions of installed RouterOS devices, with plausibly hundreds of thousands of SSH-exposed systems | ||
| CVE-2026-67281 | Unauthenticated Arbitrary File Read in MikroTik RouterOS WebFig (CVE-2026-67281) RouterOS WebFig's /jsproxy handler contains an unauthenticated file-read flaw: a newly allocated session keeps a stale, uninitialized principal pointer that is later used to authorize file access (CWE-824), combined with a path-traversal issue (CWE-22). An unauthenticated attacker who can reach the web interface first shapes the heap allocator so the uninitialized pointer resolves with sufficient rights, then submits an encrypted URI containing parent-directory components to escape the WebFig file namespace. This lets the attacker read root-owned files on the router, including configuration stores that contain credentials, which could enable further compromise. Only MikroTik RouterOS 7.x before 7.23.4 (Long-term) and 7.24.2 (Stable) is affected. No public proof-of-concept, KEV listing, or confirmed in-the-wild exploitation of this flaw is known (EPSS ~0.4%), although recent reporting notes MikroTik patches being chained in router-hijack campaigns generally. Do: Upgrade affected routers to RouterOS 7.23.4 (Long-term) or 7.24.2 (Stable). Until patched, restrict the www/WebFig service (and /jsproxy) to trusted management networks or VPN access and firewall WAN access to the router's web interface. Check logs for unauthenticated requests to /jsproxy containing traversal patterns, and rotate credentials found in router configuration stores if unexplained access is observed. | 8.7 | <1% |
| masson the order of 10^5-10^6 (likely hundreds of thousands) of internet-exposed MikroTik RouterOS devices, of which the vulnerable pre-fix 7.x subset with WebFig… |