Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish authenticated high-privilege RouterOS API session
-
DeliveryAdministrator reduces account group permissions
-
ExploitServer fails to invalidate existing session token
-
ExecutionIssue API read commands beyond new permission scope
-
ImpactExtract sensitive configuration data (firewall rules, VPN keys, routing tables)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Two concurrent conditions are required: first, the RouterOS API service must be explicitly enabled on the target device (it is not universally on by default and must be activated under IP > Services); second, the attacker must hold a currently active, authenticated session established with high-privilege credentials prior to the permission-reduction event. The specific trigger is a post-authentication state change - either the administrator modifies the attacker's user group to lower permissions, or an inactivity timeout is expected to invalidate the session - but the server does not enforce re-authorization on the existing token. Exploitation is strictly limited to authenticated users with prior high-privilege access; an unauthenticated external party cannot exploit this flaw. The exploitation window is bounded by the natural session lifecycle and closes once the stale session terminates; devices with the API service disabled are not affected. |
| Impact | The CVSS 4.0 score of 6.9 (Medium) is shaped primarily by the PR:H prerequisite, which dramatically constrains the exploitable population to actors who already hold valid high-privilege RouterOS API credentials. The high confidentiality impact (VC:H) reflects the sensitivity of what a stale privileged session can expose - full routing tables, firewall rulsets, VPN pre-shared keys, and user credential hashes accessible via the API. No EPSS score was provided in the source intelligence, and the vulnerability is neither in the CISA KEV catalog nor associated with public proof-of-concept code, suggesting it has not been observed in widespread active exploitation. The realistic threat model is an insider or post-incident scenario: a user whose API credentials were demoted (e.g., following a suspected compromise or role change) retains their prior access window until the session naturally lapses. ICS-CERT's involvement elevates organizational priority specifically for OT operators - MikroTik is common in industrial DMZ and plant-network segments where session integrity is a compliance concern. Integrity and availability are unaffected (VI:N, VA:N), making this a targeted information-disclosure risk rather than a system-compromise vector. |
| Exploit ScenarioDerived | A network administrator removes elevated privileges from a RouterOS API user account - for example, revoking read access to the firewall and VPN configuration sections - but the user's active API session token remains valid on the server side. During the window between the permission change and natural session expiration, the demoted user continues to issue API commands to read firewall rules, extract BGP neighbor credentials, or enumerate VPN pre-shared keys that should now be out of scope. No public exploit code has been identified; successful exploitation requires the adversary to already hold a currently active, authenticated high-privilege session at the moment their access is reduced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
Insufficient session expiration in the MikroTik RouterOS API allows authenticated users whose permissions have been reduced to retain their prior, elevated access rights for the duration of the stale session. Specifically, when a user's group membership or permission set is downgraded, or when an inactivity timeout is expected to expire a session, the RouterOS API fails to re-evaluate or invalidate the existing session token - exposing confidential routing, firewall, or credential data the user should no longer reach. No public exploit has been identified and the vulnerability is not listed in the CISA KEV catalog; however, ICS-CERT's publication of ICSA-26-211-01 signals elevated concern for operational technology networks where MikroTik devices are used for segmentation and industrial network management.
RemediationAI
Consult CISA ICS-CERT advisory ICSA-26-211-01 (https://www.cisa.gov/news-events/ics-advisories/icsa-26-211-01) for the vendor-supplied patch; a specific patched RouterOS version was not confirmed in available data at time of analysis, so monitoring that advisory for an updated fixed-version notice is the recommended first step. As an immediate compensating control, disable the RouterOS API entirely if it is not operationally required - navigate to IP > Services in RouterOS and set the API and API-SSL services to disabled; note this will break any automation or monitoring tools relying on the API port. If the API must remain enabled, enforce the shortest feasible session timeout in RouterOS API settings and establish an operational procedure to manually terminate active sessions (via '/ip service' or connected session management) immediately whenever a user's permissions are modified - do not rely on passive timeout expiration. Restrict API reachability via RouterOS firewall input-chain rules to explicitly allow only authorized management hosts on TCP/8728 and TCP/8729, dropping all other source addresses; this limits who can benefit from a stale session even if one exists. Prefer API-SSL (TCP/8729) over plaintext API to prevent credential and session-token interception on the wire.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the RouterOS API session management layer - the programmatic interface (TCP/8728 plaintext, TCP/8729 TLS) used by administrators, automation scripts, and third-party management tools to interact with MikroTik networking devices. CWE-613 (Insufficient Session Expiration) describes a server-side failure to invalidate or re-evaluate session tokens when access conditions change: here the triggering events are either a user-group permission change or an inactivity timeout that should have terminated the session. The CPE string cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:* carries no version bounds, indicating the flaw is assessed as systemic across the RouterOS product line rather than introduced in a specific release. The CVSS 4.0 vector confirms a purely confidentiality-impacting flaw (VC:H, VI:N, VA:N) with no downstream scope change, consistent with a session staleness issue that leaks data without allowing writes or service disruption.
Know when Routeros gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
API is network-reachable but requires an active high-privilege authenticated session (PR:H); only confidentiality is impacted with no scope change.
Primary rating from Vendor (icscert).
CVSS VectorVendor: icscert
DescriptionCVE.org
An API session‑management flaw in products with the MikroTik RouterOS API enabled are vulnerable to a Insufficient Session Expiration vulnerability. This could allow active sessions to retain their previous permission set after inactivity timeouts or user‑group changes. As a result, an authenticated user whose permissions have been reduced may continue accessing information.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Privilege escalation in MikroTik RouterOS lets a remote, unauthenticated attacker abuse the SSH login helper to rewrite
Remote unauthenticated exploitation of MikroTik RouterOS's Bandwidth Test (btest) service allows two distinct attacks: k
SSH authentication bypass in MikroTik RouterOS allows any unauthenticated network attacker to skip the entire SSH user-a
A vulnerability in the network stack of MikroTik Version 6.38.5 released 2017-03-09 could allow an unauthenticated remot
The MikroTik Router hAP Lite 6.25 has no protection mechanism for unsolicited TCP ACK packets in the case of a fast netw
The container package in MikroTik RouterOS 7.4beta4 allows an attacker to create mount points pointing to symbolic links
A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Rated
Authentication bypass in MikroTik RouterOS lets a remote unauthenticated attacker log in over SSH as an authorized user
MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated
Mikrotik RouterOs before stable v7.5 was discovered to contain an out-of-bounds read in the hotspot process. Rated high
Mikrotik RouterOS before 6.42.7 and 6.40.9 is vulnerable to stack buffer overflow through the license upgrade interface.
Unauthenticated file read in MikroTik RouterOS WebFig exposes root-owned configuration files - including credential stor
EUVD-2026-51258
GHSA-x9w7-jgwj-cp2f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB