Skip to content
NewA calmer, faster ZeroHour
VulnerabilityKEVPoC ×315 · 6 reads

CVE-2026-86060

Argument-Injection Flaw in MikroTik RouterOS SSH Login Enables Privilege Escalation

CISA: MikroTik RouterOS Improper Neutralization of Argument Delimiters in a Command Vulnerability

CVSS 4.0
9.2 critical
EPSS
6%p94
Published
·
Added to KEV
Analyze CVE-2026-86060 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

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.

What to 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').

ProductAffected
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)
Estimated exposure
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 — MikroTik RouterOS is one of the most widely deployed router platforms across SOHO, ISP/WISP and hosting environments, and long-running public internet scans (e.g., Shodan/Censys) consistently surface hundreds of thousands to over a million…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

RouterOS contains an argument-handling flaw in the SSH login path involving usernames that begin with a prohibited character, allowing for the trusted RouterOS policy mask to be changed, leading to privilege escalation. Exploitation requires an unauthenticated SSH session to reach the RouterOS login helper.This issue was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)

KEVCISA Known Exploited Vulnerability
Affected
MikroTik RouterOS
Required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Due date
Ransomware use
Unknown
Vendors
mikrotik
Products
routeros
Weakness
CWE-88
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

20 stories