# CVE-2026-89020: MikroTik RouterOS Stack Buffer Overflow via TFTP URL Path Leading to Privilege Escalation

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-14T18:02:58.553Z
- Modified: 2026-11-06T20:17:27.910Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- MikroTik RouterOS: from 6.0.0 before 6.49.21; from 7.0.0 before 7.23.4; from 7.24.0 before 7.24.2

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gitlab.com/sys65535/CVE-2026-89020-privesc-research> (exploit, technical-description)
- <https://forum.mikrotik.com/t/7-24-2-stable-is-released/272800> (patch, release-notes)
- <https://forum.mikrotik.com/t/7-23-4-long-term-is-released/272801> (patch, release-notes)
- <https://www.vulncheck.com/advisories/mikrotik-routeros-stack-buffer-overflow-via-tftp-url-path> (third-party-advisory)
- <https://forum.mikrotik.com/t/6-49-21-long-term-is-released/272802> (patch, release-notes)
- <https://mikrotik.com/supportsec/cve-2026-89020/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-89020](https://www.cve.org/CVERecord?id=CVE-2026-89020), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-89020](https://nvd.nist.gov/vuln/detail/CVE-2026-89020), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-89020 · Whole record: https://cve.day/CVE-2026-89020.json · Rebuilt by cve.day 2026-11-25T22:59:38.346Z
