Servers and applications
CVE-2026-89020
MikroTik RouterOS Stack Buffer Overflow via TFTP URL Path Leading to Privilege Escalation
- Severity
- High 8.7
- Published
- 14 Sept 2026
- Last changed
- 6 Nov 2026
- Added to UpHeron
- 6 Nov 2026
- Fixed in
- 6.49.21, 7.23.4, 7.24.2
- Exploit chance
- 0.6% in the next 30 daysHigher than 47% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
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 software
| Software | Affected versions |
|---|---|
MikroTik RouterOSServers and applications · cna:mikrotik|routeros |
|
About MikroTik RouterOS
proprietary router operating system based on Linux
- Developer
- MikroTikWikidata
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| RouterOS 7.25 | 7.25.1 | Yes |
| RouterOS 7.24 | 7.24.6 | Ended 23 Oct 2026 |
| RouterOS 7.23 (LT)LTS | 7.23.8 | Yes |
| RouterOS 7.22 | 7.22.3 | Ended 26 May 2026 |
| RouterOS 7.21 (LT)LTS | 7.21.5 | Ended 26 May 2026 |
| RouterOS 7.20 (LT)LTS | 7.20.8 | Ended 12 Jan 2026 |
From endoflife.date.
Vulnerabilities in MikroTik RouterOS
- In our list
- 91
- Published in the last 12 months
- 10
- Critical, last 12 months
- 3
- High, last 12 months
- 5
- Known exploited
- 5
- CVE-2026-89035MikroTik RouterOS 7.24.5 WebFig Session Token Replay Authentication BypassCritical 9.1 21 Oct 2026
- CVE-2026-112158MikroTik RouterOS ipt_SAME.ko same_check integer overflowHigh 7.1 19 Oct 2026
- CVE-2026-103903MikroTik RouterOS WinBox split-principal authentication bypass allows privilege escalationHigh 8.7 12 Oct 2026
- CVE-2026-86060RouterOS 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…Critical 9.2 5 Sept 2026 · Exploited
- CVE-2026-67281RouterOS WebFig contains an unauthenticated file-read vulnerability in the /jsproxy path where a newly allocated session retains a stale uninitialized principal pointer used for file authorization. An unauthenticated attacker can prepare the allocator so that the file-serving path dereferences this pointer with sufficient rights, then supply parent-directory components in an encrypted URI to…High 8.7 5 Sept 2026
- CVE-2026-67279RouterOS SSH enters the connection protocol after a client-requested rekey even though user authentication was never attempted, allowing an unauthenticated client to open a session channel and send an exec request. On affected builds the server dispatches the command, enabling unauthenticated creation, overwrite, and reconstruction of files in the RouterOS managed file namespace, including…Medium 6.9 5 Sept 2026 · Exploited
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-89020