{
  "id": "CVE-2026-89020",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89020",
  "published_at": "2026-09-14T18:02:58.553Z",
  "title": "MikroTik RouterOS Stack Buffer Overflow via TFTP URL Path Leading to Privilege Escalation",
  "vendor": "MikroTik",
  "product": "RouterOS",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-30T21:26:52Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 46.1,
    "repo": "davtur19/PoC-CVE-2026-89020-PrivEsc",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: MikroTik RouterOS MikroTik RouterOS Stack Buffer Overflow"
  },
  "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.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "davtur19/PoC-CVE-2026-89020-PrivEsc",
      "url": "https://github.com/davtur19/PoC-CVE-2026-89020-PrivEsc",
      "created_at": "2026-10-30T21:26:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-07-24T00:41:25Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "MikroTik",
        "product": "RouterOS",
        "ranges": [
          "\u003e= 6.0.0, \u003c 6.49.21",
          "\u003e= 7.0.0, \u003c 7.23.4",
          "\u003e= 7.24.0, \u003c 7.24.2"
        ],
        "fixed_in": [
          "6.49.21",
          "7.23.4",
          "7.24.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade RouterOS to 6.49.21 or 7.23.4 or 7.24.2 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://forum.mikrotik.com/t/7-24-2-stable-is-released/272800"
      },
      {
        "kind": "Patch",
        "url": "https://forum.mikrotik.com/t/7-23-4-long-term-is-released/272801"
      },
      {
        "kind": "Patch",
        "url": "https://forum.mikrotik.com/t/6-49-21-long-term-is-released/272802"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://mikrotik.com/supportsec/cve-2026-89020/"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://gitlab.com/sys65535/CVE-2026-89020-privesc-research",
      "source": "cvelist",
      "title": "Researcher Disclosure",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
