Skip to main content

MikroTik RouterOS CVE-2025-42611

| EUVDEUVD-2025-209639 MEDIUM
Improper Certificate Validation (CWE-295)
2026-05-05 ENISA GHSA-qqqc-gw7p-pw85
6.5
CVSS 3.1 · Vendor: ENISA
View

Attack ChainAIDerived

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

  1. Access
    Network reconnaissance identifies RouterOS services
  2. Delivery
    Attacker obtains or forges certificate from system-trusted CA
  3. Exploit
    Present certificate to service beyond its intended scope
  4. Execution
    Service incorrectly validates certificate due to shared trust store
  5. Persist
    Authentication bypass achieved
  6. Impact
    Access granted to authenticated functions or network resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

The vulnerability requires (1) network access to at least one RouterOS security service that performs certificate validation (OpenVPN, CAPsMAN, or 802.1X), (2) knowledge or observation of a certificate authority already trusted by the target RouterOS system (or ability to introduce a new CA into the system trust store through prior compromise or misconfiguration), and (3) the ability to obtain a certificate issued by that CA or forge one if the CA's private key is accessible. Exploitation is limited by the attacker's inability to forge certificates without access to the CA private key unless the CA is weak or the attacker has already compromised it. Additionally, if RouterOS enforces certificate pinning or additional validation rules beyond the shared trust store for specific services, this may further constrain exploitation. The vulnerability affects default configurations in multi-service environments where multiple CAs are trusted (typical in enterprise deployments), but is mitigated in minimal deployments using only one service with a single CA.

Impact

This vulnerability presents moderate-to-significant real-world risk despite a CVSS score of 6.5. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U) confirms remote, unauthenticated, low-complexity exploitation against default configurations with no user interaction required-favorable conditions for attacker scalability. The confidentiality and integrity impact (C:L/I:L) is partial rather than complete compromise, which CVSS correctly reflects. However, the practical impact may be underestimated by the raw score because: (1) successful exploitation grants authentication bypass in multiple critical security services simultaneously, (2) RouterOS is deployed in enterprise network edge roles where such services are actively used, and (3) the vulnerability exploits a design flaw in certificate trust architecture rather than a parsing bug, suggesting sustained exploitation window. The attack requires either network access to the vulnerable services (OpenVPN, CAPsMAN, Dot1x) and knowledge of a CA trusted by the system, or ability to introduce a new CA into the trust store. EPSS score, KEV status, and POC availability are not provided in the input data, preventing assessment of current active exploitation or proof-of-concept availability. The absence of this data is notable given ENISA reporting and suggests either early-stage disclosure or targeted vulnerability.

Exploit ScenarioDerived

An attacker with network access to a RouterOS instance running OpenVPN obtains or creates a certificate signed by any CA already present in the system's trust store (e.g., a CA legitimately used for a different service like CAPsMAN). The attacker then attempts to authenticate to a different service, such as Dot1x, using this certificate. Due to the shared certificate validation logic and scope confusion, RouterOS incorrectly trusts the certificate in the Dot1x context despite the CA not being intended for that service. The attacker gains authentication bypass and can proceed to access network resources or service functionality that should require proper authentication.

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

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

Alert me

AnalysisAIv1 – May 05, 2026

RouterOS fails to properly validate certificate scope across its shared system certificate store, allowing any trusted certificate authority to authenticate in contexts beyond its intended scope. This vulnerability enables partial or full authentication bypass in OpenVPN, CAPsMAN, and 802.1X (Dot1x) services, affecting all RouterOS versions that use the vulnerable shared certificate validation logic. The vulnerability requires network access but no user interaction or authentication, making it remotely exploitable against default configurations.

RemediationAI

Vendor patch information is not confirmed in the provided data. Network administrators should immediately consult the MikroTik advisory and CERT.SI link (https://www.cert.si/en/cve-2025-42611/) for patched RouterOS versions and deployment guidance. Pending patch availability, implement the following compensating controls: (1) Restrict network access to OpenVPN, CAPsMAN, and 802.1X services using firewall rules and access control lists, limiting exposure to trusted administrative networks only-this reduces remote attack surface at the cost of service availability if remote access is required. (2) Review and minimize the system certificate trust store, removing any CA certificates that are not strictly necessary for each service's authentication context-this directly addresses the scope-confusion flaw but requires careful inventory of legitimate certificate use. (3) Implement network segmentation to isolate RouterOS management traffic and service authentication flows from untrusted network segments, reducing the likelihood that an attacker can present a malicious certificate. (4) Monitor and log certificate validation failures in OpenVPN, CAPsMAN, and Dot1x services for anomalous authentication attempts. Note that these mitigations reduce attack surface but do not eliminate the underlying validation flaw; patch deployment is essential for complete remediation.

Affected VersionsENISA

RouterOS 0 ≤7.20.x

Affected Packages

euvd routeros no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RouterOS implements multiple security-sensitive services (OpenVPN, CAPsMAN, Dot1x/802.1X) that rely on X.509 certificate validation to authenticate clients and servers. The underlying vulnerability stems from CWE-295 (Improper Certificate Validation), specifically a scope-confusion flaw where the system maintains a single shared certificate trust store used equally by all services. Rather than enforcing role-based or context-specific certificate validation policies, RouterOS trusts any certificate authority present in this system-wide store for any protocol context. This creates a confusion-of-authority problem: a CA certificate legitimately added to authenticate clients in one service context (e.g., OpenVPN) becomes automatically trusted in other contexts (e.g., CAPsMAN or Dot1x) where it should not be. The affected CPE indicates all RouterOS versions are potentially vulnerable, though patch availability and exact vulnerable version ranges are not confirmed in the provided data.

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 (ENISA) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Primary rating from Vendor (ENISA) · only source for this CVE.

CVSS VectorVendor: ENISA

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

RouterOS provides various services that rely on correct verification of client and server certificates to secure confidentiality and integrity of communications. This includes OpenVPN, CAPsMAN, Dot1x (802.1X), among others.

The vulnerability lies in shared certificate validation logic which uses the system certificate store that is shared and equally trusted by all system services. This causes confusion of scope, allowing any certificate authority present in the system-wide trust store to be trusted in any context (with some exceptions), allowing partial or full authentication bypass in CAPsMAN, OpenVPN, Dot1X and potentially others.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

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.0%
Patch available No
Active threat No
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
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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

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