CVE-2026-89020

published 14 Sep 2026 · updated 6 Nov 2026

MikroTik RouterOS Stack Buffer Overflow via TFTP URL Path Leading to Privilege Escalation

9.8CriticalCVSS 8.8EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in RouterOS 6.49.21, RouterOS 7.23.4 and RouterOS 7.24.2.

MikroTik RouterOS before 7.23.4 (long-term) and 7.24.2 (stable) contains a stack-based buffer overflow vulnerability in the mtget binary's TFTP RRQ builder function that allows authenticated users to crash the mtget worker process by supplying a URL path of 507 bytes or more to the /tool fetch command; the first write outside the 528-byte buffer occurs at 505 bytes. Attackers can trigger the overflow by issuing a fetch command with a crafted tftp:// URL path, which causes an unbounded rep movsb instruction to overwrite saved registers at a deterministic offset, crashing the process without requiring a reachable TFTP server or elevated privileges beyond read-only group membership. On older RouterOS versions, this overflow is not limited to crashing the process: the deterministic overwrite of saved registers is exploitable to achieve persistent privilege escalation on the device. On versions with intact exploit mitigations, the impact is limited to a crash of the mtget worker process.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MikroTikRouterOS>=6.0.0 <6.49.21, >=7.0.0 <7.23.4, >=7.24.0 <7.24.26.49.21, 7.23.4, 7.24.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in RouterOS, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-89020 severity on Zeptric[![CVE-2026-89020](https://zeptric.io/badge/cve/CVE-2026-89020.svg)](https://zeptric.io/cve/CVE-2026-89020)