MikroTik RouterOS WebFig Session Token Replay Enables Authentication Bypass

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-89035?

CVE-2026-89035 is a vulnerability classified as DEPRECATED: Insufficient Session Expiration, affecting RouterOS (affected versions: ≤ 7.23.6 and 7.24.0 – ≤ 7.24.5). This vulnerability is rated Critical, with a CVSS score of 9.1. Current sources do not report this vulnerability as exploited.

Overview

Original source data

MikroTik RouterOS through 7.24.5 contains a session token replay vulnerability in the WebFig interface that allows attackers to bypass authentication by replaying captured session tokens across new ECDH sessions. The makeSessionKey function in libucrypto.so generates tokens using fixed salts without incorporating channel-specific or session-specific input, and the user service validates tokens against the login store without verifying channel context, enabling stolen tokens to grant persistent administrative access until the token store is explicitly cleared. This vulnerability extends the impact of CVE-2025-61481, which identified the underlying transport-layer exposure without a corresponding fix.

Affected products and scope

  • MikroTik RouterOS: affected from 0 through 7.23.6, semver.
  • MikroTik RouterOS: affected from 7.24.0 through 7.24.5, semver.
  • The default status for versions outside these ranges is unknown. Later or parallel branches must not be assumed unaffected.
  • The supplied record and inspected advisory do not identify a fixed release.

Technical details

MikroTik RouterOS handles WebFig session tokens without binding them to a specific channel or session. The makeSessionKey function in libucrypto.so creates tokens with fixed salts and does not include channel-specific or session-specific input in token generation. The user service then validates the token against the login store without checking channel context, so a token captured from one session can be replayed in a new ECDH session. Exploitation requires network reachability to WebFig and possession of a captured session token; the record does not establish exactly how the token is captured. The CNA describes exploitation as producing an admin session without credentials. The record does not establish the token format, the precise capture path, or the vendor's corrected implementation.

Exploitability

The vulnerability is reachable over the network through WebFig. The record indicates that prior authentication and user interaction are not required, but an attacker must still obtain a captured token and meet the replay conditions; exploitation complexity is described as high. VulnCheck has publicly stated that it developed an original exploit that gives an unauthenticated attacker a full admin session. The available evidence confirms a public exploit, but does not name a specific campaign, victim, or observed real-world compromise.

Technical impact

  • The primary technical outcome is authentication bypass followed by an administrative session on the affected RouterOS device.
  • An attacker may read data in the administrative plane and make configuration changes with administrative privileges, affecting router confidentiality and integrity.
  • Access may persist until the token store is explicitly cleared.
  • The documented scope is the affected system; the available evidence does not establish automatic expansion to other systems or a direct service outage.

Business impact

  • An attacker can bypass WebFig authentication and obtain administrative access to an affected router.
  • That access can expose administrative and configuration data and permit unauthorized changes to the router.
  • A compromised session may continue to provide administrative access until the token store is explicitly cleared.
  • The available evidence does not establish a direct availability impact, but loss of control over the administrative plane can create operational risk and enable unauthorized network configuration changes.

Remediation

  1. Prioritize upgrading RouterOS to a vendor-confirmed fixed release when one is provided. No fixed release is supplied in the record; do not treat 7.24.5 as safe merely because it is the highest version listed.
  2. Until a confirmed fix is available, restrict WebFig to trusted management networks and remove unnecessary exposure to untrusted networks. Prefer encrypted management transport where the deployment supports it.
  3. If session-token exposure is suspected, explicitly clear the token store to invalidate existing tokens, then verify administrative access again.
  4. Review configuration and administrative changes after handling the token store. Do not apply additional product-specific remediation steps without official guidance from MikroTik or the CNA.

Detection

  1. Inventory all MikroTik RouterOS devices and compare their versions with the affected branches in affected_summary.
  2. Identify devices with WebFig enabled and determine whether WebFig is reachable from untrusted networks.
  3. Check the WebFig transport configuration; WebFig served over cleartext HTTP should be treated as a risk-increasing condition, not as a confirmed indicator of compromise.
  4. If token exposure is suspected, review administrative changes and admin access activity, then explicitly clear the token store according to the device's operational procedure.
  5. No specific log signature or IOC is supplied for this vulnerability. The absence of such evidence does not prove that a device is safe.
Sources (13)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.