ZeroHour
Story · 2 sources · 2 articlesfirst updated ()

MikroTrick: Chained MikroTik RouterOS SSH Flaws Enable Unauthenticated Full Admin Takeover of Internet-Exposed Routers

criticalExploit / PoCexploited in the wildimportance 85CVE-2026-67276CVE-2026-86060CVE-2026-67279
What's new: First merged summary for this story. New developments: CERT Polska publicly disclosed six MikroTik RouterOS vulnerabilities on September 5, 2026; in-the-wild exploitation of SSH-exposed routers beginning around September 2, 2026 was confirmed, predating both disclosure and patches; patched releases are now available (RouterOS 6.49.21, 7.23.4, 7.24.2), with the caveat that updating cannot evict…
Merged summary · glm-5.3-flash · rewritten as coverage arrives

Attackers chained an SSH authentication/rekeying bypass with the privilege flaw CVE-2026-86060 to gain passwordless full admin control of internet-exposed MikroTik RouterOS devices. CERT Polska says exploitation of SSH-exposed devices began around September…

CERT Polska disclosed six MikroTik RouterOS vulnerabilities on September 5, 2026, and confirmed real-world exploitation of SSH-exposed devices beginning around September 2, before public disclosure and patched releases. The attack pairs CVE-2026-86060, a session privilege manipulation flaw in which dash-prefixed usernames cause a helper to load a trusted identity record granting full administrator access on RouterOS 7.x builds, with an SSH flaw; GBHackers rates both flaws CVSS 9.2. The sources disagree on the SSH flaw's CVE id: GBHackers reports the actively exploited chain uses CVE-2026-67276, an SSH authentication bypass, while Cyber Security News attributes Bishop Fox's 'MikroTrick' chain to CVE-2026-67279, an SSH rekeying flaw that lets unauthenticated clients reach post-authentication functions; Bishop Fox independently reproduced a related chain using CVE-2026-67279 and CVE-2026-86060, achieving full passwordless takeover. The rekeying bypass also affects RouterOS 6.x, but full takeover was not reproduced there. Bishop Fox found compromise evidence on internet-facing devices, including unauthorized full-privilege accounts, a 'logrotate' script, and a 'daily-maint' scheduler running at 03:00 that recreates a privileged account, all showing the unusual owner="0" value. Fixes are available in RouterOS 6.49.21, 7.23.4, and 7.24.2; patching blocks new attacks but cannot evict intruders already established. Administrators are advised to treat exposed routers as compromised, rotate secrets, and restrict SSH.

  • CERT Polska disclosed six MikroTik RouterOS vulnerabilities on September 5, 2026, and confirmed exploitation of SSH-exposed devices beginning around September 2, before disclosure and patched releases.
  • The attack chain pairs CVE-2026-86060 (session privilege manipulation: dash-prefixed usernames make a helper load a trusted identity record granting full admin access on RouterOS 7.x) with an SSH flaw; both flaws are rated CVSS 9.2 per…
  • Sources disagree on the SSH flaw's CVE id: GBHackers reports the in-the-wild chain uses CVE-2026-67276 (SSH authentication bypass), while Cyber Security News attributes Bishop Fox's MikroTrick chain to CVE-2026-67279 (SSH rekeying flaw…
  • Bishop Fox independently reproduced a related chain using CVE-2026-67279 and CVE-2026-86060, achieving full passwordless takeover of RouterOS 7.x devices.
  • The rekeying bypass also affects RouterOS 6.x, but full takeover was not reproduced there.
  • Persistence indicators on compromised devices: unauthorized full-privilege accounts, a 'logrotate' script, and a 'daily-maint' scheduler running at 03:00 that recreates a privileged account, all showing the unusual owner="0" value.
  • Fixes ship in RouterOS 6.49.21, 7.23.4, and 7.24.2; updating blocks new attacks but cannot remove attacker-created persistence such as accounts, scripts, and schedulers.
  • Recommended response: treat internet-exposed routers as compromised, rotate secrets, and restrict SSH access.
VendorsMikroTik
ProductsRouterOS
CountriesPoland

Coverage timeline

  1. · 5h ago
    GBHackers· 85
    Hackers Exploit MikroTik Vulnerabilities to Take Over MikroTik Routers Without Authentication

    Attackers chained SSH authentication bypass CVE-2026-67276 and privilege flaw CVE-2026-86060 to fully hijack internet-exposed MikroTik routers before patches existed.

  2. · 5h ago
    Cyber Security News· 78
    MikroTrick Attack Lets Hackers Gain Full Admin Control of MikroTik Routers Without Login

    Bishop Fox's MikroTrick chains CVE-2026-67279 and CVE-2026-86060 to gain unauthenticated admin control of internet-exposed MikroTik RouterOS devices, with compromise evidence.

Vulnerabilities in this storyAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
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%
  • MikroTik RouterOS 7.x branch prior to 7.23.4 (Long-term) and 7.24.2 (Stable)
mass~1M RouterOS 7.x devices (installed base in the millions; hundreds of thousands internet-exposed, with SSH a standard management service)
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%
  • MikroTik RouterOS (Long-term branch, v6) prior to 6.49.21
  • MikroTik RouterOS (Long-term branch, v7) prior to 7.23.4
  • MikroTik RouterOS (Stable branch, v7) prior to 7.24.2
massmillions of installed RouterOS devices, with plausibly hundreds of thousands of SSH-exposed systems
CVE-2026-86060
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.21% KEV PoC ×2
  • MikroTik RouterOS v6 (Long-term channel) versions prior to 6.49.21 (fixed in 6.49.21)
  • MikroTik RouterOS v7 (Long-term channel) versions prior to 7.23.4 (fixed in 7.23.4)
  • MikroTik RouterOS v7 (Stable channel) versions prior to 7.24.2 (fixed in 7.24.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