{"id":"CVE-2026-89020","published":"2026-09-14T18:02:58Z","modified":"2026-11-06T19:25:15Z","title":"MikroTik RouterOS Stack Buffer Overflow via TFTP URL Path Leading to Privilege Escalation","vendor":"MikroTik","product":"RouterOS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00701,"percentile":0.48726,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://forum.mikrotik.com/t/7-24-2-stable-is-released/272800","tags":["patch","release-notes"]},{"url":"https://forum.mikrotik.com/t/7-23-4-long-term-is-released/272801","tags":["release-notes","patch"]},{"url":"https://www.vulncheck.com/advisories/mikrotik-routeros-stack-buffer-overflow-via-tftp-url-path","tags":["third-party-advisory"]},{"url":"https://forum.mikrotik.com/t/6-49-21-long-term-is-released/272802","tags":["release-notes","patch"]},{"url":"https://mikrotik.com/supportsec/cve-2026-89020/","tags":["vendor-advisory"]},{"url":"https://gitlab.com/sys65535/CVE-2026-89020-privesc-research","tags":["technical-description","exploit"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":9.75},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"mikrotik","affectedVersions":[{"vendor":"MikroTik","product":"RouterOS","versions":[">= 6.0.0, < 6.49.21",">= 7.0.0, < 7.23.4",">= 7.24.0, < 7.24.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T16:07:48.174278Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-77756","exploited":false,"provenance":"source"},"exploitRefs":["https://gitlab.com/sys65535/CVE-2026-89020-privesc-research"]}