Skip to main content

MikroTik RouterOS CVE-2026-14227

| EUVDEUVD-2026-51258 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-07-30 icscert GHSA-x9w7-jgwj-cp2f
6.9
CVSS 4.0 · Vendor: icscert
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish authenticated high-privilege RouterOS API session
  2. Delivery
    Administrator reduces account group permissions
  3. Exploit
    Server fails to invalidate existing session token
  4. Execution
    Issue API read commands beyond new permission scope
  5. Impact
    Extract 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

RouterOS All versions

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

Vendor (icscert) PRIMARY 6.9 MEDIUM
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
vuln.today AI 4.9 MEDIUM

API is network-reachable but requires an active high-privilege authenticated session (PR:H); only confidentiality is impacted with no scope change.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (icscert).

CVSS VectorVendor: icscert

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
High
MikroTik RouterOS broadly deployed in SMB, ISP, and OT network infrastructure globally.
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CISA VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-86060 CRITICAL POC
9.2 Sep 05

Privilege escalation in MikroTik RouterOS lets a remote, unauthenticated attacker abuse the SSH login helper to rewrite

CVE-2026-67277 HIGH POC
8.8 Sep 05

Remote unauthenticated exploitation of MikroTik RouterOS's Bandwidth Test (btest) service allows two distinct attacks: k

CVE-2026-67279 MEDIUM POC
6.9 Sep 05

SSH authentication bypass in MikroTik RouterOS allows any unauthenticated network attacker to skip the entire SSH user-a

CVE-2017-7285 HIGH POC
7.5 Mar 29

A vulnerability in the network stack of MikroTik Version 6.38.5 released 2017-03-09 could allow an unauthenticated remot

CVE-2017-6444 HIGH POC
7.5 Mar 12

The MikroTik Router hAP Lite 6.25 has no protection mechanism for unsolicited TCP ACK packets in the case of a fast netw

CVE-2022-34960 CRITICAL POC
9.8 Aug 25

The container package in MikroTik RouterOS 7.4beta4 allows an attacker to create mount points pointing to symbolic links

CVE-2018-7445 CRITICAL POC
9.8 Mar 19

A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Rated

CVE-2026-67276 CRITICAL POC
9.2 Sep 05

Authentication bypass in MikroTik RouterOS lets a remote unauthenticated attacker log in over SSH as an authorized user

CVE-2018-14847 CRITICAL POC
9.1 Aug 02

MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated

CVE-2022-45313 HIGH POC
8.8 Dec 05

Mikrotik RouterOs before stable v7.5 was discovered to contain an out-of-bounds read in the hotspot process. Rated high

CVE-2018-1156 HIGH POC
8.8 Aug 23

Mikrotik RouterOS before 6.42.7 and 6.40.9 is vulnerable to stack buffer overflow through the license upgrade interface.

CVE-2026-67281 HIGH POC
8.7 Sep 05

Unauthenticated file read in MikroTik RouterOS WebFig exposes root-owned configuration files - including credential stor

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy