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.
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 actively exploited MikroTrick chain pairs CVE-2026-67276, an SSH authentication bypass, with CVE-2026-86060, a session privilege manipulation flaw, both CVSS 9.2, yielding full administrative control of internet-facing routers. Bishop Fox independently reproduced a related chain using CVE-2026-67279 and CVE-2026-86060 and found post-compromise persistence, including unauthorized full-privilege accounts, scripts, and schedulers showing the unusual owner="0" value. Fixes are available in RouterOS 6.49.21, 7.23.4, and 7.24.2, but updating cannot remove attacker-created persistence.
- CVE-2026-67276 bypasses SSH authentication; CVE-2026-86060 manipulates session policy into full admin access.
- CERT Polska confirmed exploitation of SSH-exposed devices from around September 2, before disclosure.
- Bishop Fox reproduced a related chain using CVE-2026-67279 and CVE-2026-86060.
- Persistence artifacts include unauthorized accounts, scripts, and schedulers with unusual owner="0" value.
- Fixes ship in RouterOS 6.49.21, 7.23.4, 7.24.2; updates cannot remove existing persistence.
Vulnerabilities mentionedAll →
| 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-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-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.2 | 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 |
Full article701 words · extracted from gbhackers.com · click to collapse
Attackers are actively exploiting a critical vulnerability chain dubbed MikroTrick to seize full administrative control of internet-exposed MikroTik RouterOS devices without valid credentials.
CERT Polska disclosed six RouterOS vulnerabilities on September 5, 2026, warning that two critical vulnerabilities could be chained to take over publicly reachable routers.
The Polish national CSIRT said it had confirmed real-world exploitation against devices with SSH accessible from the internet, while reports indicate attacks had been observed from at least September 2.
The exploit chain affects a device that often serves as the organization’s internet edge.
Once an attacker controls a router, they can alter traffic flows, create rogue administrative accounts, monitor or redirect traffic, deploy persistence, and potentially pivot into systems behind the network perimeter.
MikroTrick combines two defects across RouterOS’s SSH authentication and session-handling path.
Public reporting identifies the actively exploited chain as CVE-2026-67276, an SSH authentication-bypass issue, and CVE-2026-86060, a session privilege manipulation vulnerability caused by unsafe handling of specially crafted usernames.
Both vulnerabilities carry a CVSS severity score of 9.2.
The first stage allows an attacker to circumvent a normal SSH trust check and open an SSH command channel without possessing the target user’s private key.
The second stage abuses the RouterOS login process to manipulate the policy assigned to the session, effectively converting an unauthenticated or improperly authenticated SSH connection into a full-privilege administrative session.
Bishop Fox independently reproduced a related chain involving CVE-2026-67279 and CVE-2026-86060 on vulnerable RouterOS 7.x versions.
Its analysis found that SSH rekeying could advance an unauthenticated connection beyond the intended authorization boundary, after which a crafted username such as -2 could be interpreted as an instruction by a legacy login helper rather than as a normal user identity.
In the vulnerable flow, the helper could read a supposedly trusted identity record from an open file descriptor connected to the attacker’s terminal session.
Bishopfox Researchers said that, the attacks began before public disclosure and before patched releases were available, turning exposed SSH services into a high-priority entry point for network compromise.
That allowed the adversary to supply an administrator identity and policy mask, resulting in a privileged RouterOS session without completing conventional authentication.
MikroTik Vulnerabilities Exploited
The operational risk does not end once RouterOS is updated. Bishop Fox reported artifacts on internet-facing devices consistent with post-compromise persistence, including unauthorized full-privilege accounts, scripts, and scheduled tasks.
One observed technique used a scheduler entry to recreate a privileged account if defenders removed it periodically.
An unusual ownership value, owner=”0″, appeared on suspicious RouterOS scripts and schedulers.
Lab testing showed that objects created through the tested attack path could receive that numeric owner value, unlike objects created through a normal administrative login, which displayed owner=”admin”.

This is a hunting clue rather than proof of compromise, because legitimate service-created, imported, or historical objects may also have nonstandard ownership.
RouterOS logging can further complicate incident response. Login history is memory-resident by default and can disappear after a reboot.
In contrast, attacker-added accounts, scripts, schedulers, proxies, tunnels, and configuration changes may persist.
MikroTik has released fixes for the September vulnerability set and advises administrators to review its security notice.
CERT Polska also recommends immediate updates and configuration reviews because active exploitation is targeting publicly accessible RouterOS SSH services.
Organizations should update affected systems to RouterOS 6.49.21, 7.23.4, 7.24.2, or a later applicable release.
The updates block new exploitation but cannot remove attacker-created persistence or revoke access already obtained by an intruder.
Security teams should treat an exposed, unpatched MikroTik device as potentially compromised.
Before resetting a suspected router, collect its configuration, export available logs, inspect privileged accounts, review scripts and schedulers, identify unexpected proxies or tunnels, and examine configuration history and remote logging records.
Any suspicious system should be rebuilt from a verified baseline, with all passwords, SSH keys, VPN secrets, API credentials, and other secrets stored on or observable by the router rotated.
Cut every SOC alert investigation by 21 min. Power your SOC with instant IOC context for immediate response: Integrate TI Lookup in your SOC
Mayura Kathirhttps://gbhackers.com/
Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.
Text extracted automatically; images, tables and formatting may be missing. Original: https://gbhackers.com/mikrotik-vulnerabilities-exploited/