Security
RouterOS and MikroTik device vulnerabilities, with the commands to protect yourself.

CVE-2026-103903: WinBox authentication bypass on RouterOS < 7.24.5
We demonstrated that a user with reduced privileges can obtain the authorization policy of an administrative account by manipulating the WinBox authentication process. However, we were unable to elevate the actual privileges of the attacker's session.
LabCVE-2026-89035: WebFig session token replay on RouterOS
We successfully reproduced the CVE-2026-89035 vulnerability on a RouterOS 7.24.5 CHR, demonstrating that a captured WebFig session token can be replayed on a new ECDH connection to obtain administrative access without a password. The vulnerability is fixed in RouterOS versions 7.24.6 and 7.23.7.
SecurityWebFig Vulnerability: Session Token Replay
CVE-2026-89035 is an authentication vulnerability in the RouterOS WebFig interface that allows an attacker to reuse stolen session tokens to gain persistent administrative access. It affects versions up to 7.24.5; no stable fixed version is currently available. If you use WebFig, ensure it is reachable only from the trusted administration network and consider disabling the service if not required.
AdvisoriesMikroTik takes web services offline for a few hours due to a PHP vulnerability: RouterOS is not affected
Today, October 21, 2026, mikrotik.com is offline: opening it displays “Service temporarily down for maintenance”. This is not a failure and not an attack on the routers. MikroTik has intentionally shut down all its PHP-based web services after the announcement of two critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619) that allow remote code execution. RouterOS does not use PHP: your routers are not affected and you do not need to do anything on them. You should, however, update PHP if you use it on your servers, for example for a hotspot or billing panel connected to the routers.
LabCVE-2026-112158: Integer overflow in ipt_SAME.ko on RouterOS
We verified that installing a NAT rule with action=same and a full IPv4 range causes an integer overflow in the kernel, corrupting the heap and locking up the network subsystem. The issue is present in 6.x and 7.x versions up to 7.21.3, and is resolved starting from 7.21.4.
SecurityInteger overflow in ipt_SAME.ko on RouterOS
CVE-2026-112158 is an integer overflow vulnerability in the same_check function of the ipt_SAME.ko kernel module in RouterOS. It affects versions 6.x and 7.20.x; the fix is available in versions 7.21.5 and 7.23.1. You must update the firmware to eliminate the risk of remote loss of availability.
LabCVE-2025-6563: XSS via dst parameter in MikroTik hotspot
We verified the presence of a reflected XSS vulnerability (CVE-2025-6563) in the hotspot component of RouterOS 7, which allows the execution of arbitrary JavaScript in the victim's browser. The proof confirmed that on versions prior to 7.19.2 both attack vectors work, while on version 7.24.5 the payload is blocked.
LabCVE-2026-67279: SSH Authentication Bypass on RouterOS via Rekey
We have verified that the RouterOS SSH server in vulnerable versions accepts the opening of a session channel without completing authentication, due to a state management error after a rekey. Updating to the fixed versions resolves the vulnerability.
LabCVE-2026-67276: SSH authentication bypass on RouterOS with forged key
We have confirmed that RouterOS 7.23.3 is vulnerable to CVE-2026-67276, allowing SSH authentication without the private key. The attack exploits a flaw in RSA signature verification that accepts a forged public exponent (e=1).
LabCVE-2026-67281: Path traversal and WebFig crash on RouterOS
We reproduced system file reading (path traversal) with an authenticated session and the WebFig service crash without authentication, but we were unable to achieve unauthenticated file reading. The vulnerability is confirmed on RouterOS 7.22.3 and 7.24.1.
LabCVE-2026-84411: Persistent DoS on RouterOS WebFig Reproduced in the Lab
We deterministically reproduced a persistent Denial of Service on the RouterOS WebFig service, caused by an integer underflow that hangs the www process. The issue is present in versions up to 7.22.3 and is resolved starting from version 7.23, with the complete fix recommended in 7.24.
SecurityWinBox Authorization Bypass
CVE-2026-103903 is an improper authorization vulnerability in the WinBox authentication flow that allows a low-privileged user to obtain a full administrative session without knowing the target account's password. It affects RouterOS versions prior to 7.24.5. Updating to version 7.24.5 or later and restricting WinBox access to trusted networks are the immediate actions to take.
LabCVE-2018-14847: Recovering plaintext passwords from user.dat on RouterOS v6
We reproduced the CVE-2018-14847 vulnerability on RouterOS v6, confirming that an unauthenticated attacker can read the user.dat file and recover plaintext passwords due to a weak XOR transformation. The issue is fixed in versions 6.40.8, 6.42.11, and 6.49.7, where access to the file is denied.