The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-27686

CVE-2024-27686: MikroTik RouterOS DoS Vulnerability

CVE-2024-27686 is a denial of service vulnerability in MikroTik RouterOS x86 that allows attackers to crash devices via SMB service. This article covers technical details, affected versions 6.40.5-6.49.10, and mitigation.

Published: May 18, 2026

CVE-2024-27686 Overview

CVE-2024-27686 is a denial-of-service vulnerability affecting MikroTik RouterOS (x86) versions 6.40.5 through 6.49.10. A remote, unauthenticated attacker can crash the device by sending crafted packet data to the Server Message Block (SMB) service on TCP port 445. The flaw is categorized under [CWE-400] Uncontrolled Resource Consumption. MikroTik addressed the issue in the RouterOS 7 release branch, leaving the entire 6.x line exposed when SMB is enabled. A public proof-of-concept is available on both GitHub and Exploit-DB, lowering the barrier for opportunistic exploitation against internet-facing routers.

Critical Impact

Unauthenticated remote attackers can crash RouterOS 6.x devices over the network, disrupting routing, VPN, and edge connectivity for downstream users.

Affected Products

  • MikroTik RouterOS (x86) 6.40.5 through 6.49.10
  • Devices running the RouterOS 6.x branch with the SMB service enabled
  • Edge routers exposing TCP port 445 to untrusted networks

Discovery Timeline

  • 2026-05-08 - CVE-2024-27686 published to NVD
  • 2026-05-08 - Last updated in NVD database

Technical Details for CVE-2024-27686

Vulnerability Analysis

The vulnerability resides in the SMB service implementation shipped with RouterOS 6.x. When the service receives malformed packet data on TCP port 445, the parsing logic fails to handle the input safely and the device crashes. Because the attack requires no authentication and no user interaction, any host able to reach the SMB port can trigger the condition. The result is a full denial of service: routing, firewall, VPN, and management traffic handled by the device drop until the router reboots or is manually recovered. Public exploit code published on GitHub and Exploit-DB automates the crash with a single network request.

Root Cause

The root cause is uncontrolled resource consumption inside the SMB packet handler. The service fails to validate fields in attacker-supplied SMB traffic before processing them, leading to a fatal error in the RouterOS process tree. MikroTik resolved the underlying SMB stack issues in RouterOS 7 and did not backport the fix to the 6.x branch.

Attack Vector

The attack vector is purely network-based. An attacker sends a single crafted SMB packet to TCP port 445 of a vulnerable RouterOS device. No credentials, prior access, or user interaction are required. Exposed devices, including those reachable through misconfigured firewall rules or directly on the WAN interface, can be crashed repeatedly to maintain an outage. Internet-wide scanners that identify open SMB on RouterOS banners can readily locate targets.

No verified code examples are available for this entry. Refer to the public proof-of-concept repository and Exploit-DB entry 51931 for technical details on the crash payload.

Detection Methods for CVE-2024-27686

Indicators of Compromise

  • Unexpected reboots or watchdog-triggered restarts on RouterOS 6.x devices with SMB enabled
  • Inbound TCP connections to port 445 from untrusted or geographically anomalous sources
  • Repeated short-lived SMB sessions followed by loss of device availability
  • RouterOS log entries showing SMB service termination immediately before a reboot

Detection Strategies

  • Monitor RouterOS system logs and SNMP uptime counters for unexplained restarts correlated with inbound port 445 traffic.
  • Inspect network flow records (NetFlow, sFlow, IPFIX) for SMB traffic destined to RouterOS management IPs.
  • Deploy IDS/IPS signatures that flag malformed SMB negotiation packets targeting MikroTik devices.
  • Run authenticated configuration audits to inventory devices still running RouterOS 6.x with /ip smb enabled.

Monitoring Recommendations

  • Alert on any external source initiating connections to TCP/445 on edge router IP addresses.
  • Track device uptime metrics centrally and trigger investigations when RouterOS uptime resets without a scheduled change.
  • Correlate router availability outages with firewall logs to identify pre-crash traffic from a single source.

How to Mitigate CVE-2024-27686

Immediate Actions Required

  • Disable the SMB service on RouterOS using /ip smb set enabled=no if it is not required.
  • Block inbound TCP port 445 from untrusted networks at the perimeter and on the device input firewall chain.
  • Inventory all MikroTik devices and prioritize upgrades for any running RouterOS 6.40.5 through 6.49.10.
  • Restrict SMB access to trusted management subnets only using address-list-based firewall rules.

Patch Information

MikroTik fixed the issue in the RouterOS 7 branch. Operators running any version of RouterOS 6.x between 6.40.5 and 6.49.10 must migrate to RouterOS 7 to remediate the vulnerability. There is no patched 6.x release that addresses this flaw.

Workarounds

  • Disable the SMB service entirely when file-sharing functionality is not in use.
  • Add a firewall rule dropping traffic to TCP/445 on the input chain for all interfaces facing untrusted networks.
  • Place RouterOS management and service interfaces behind a VPN or dedicated management VLAN.
  • Use the RouterOS /ip firewall filter address-list feature to permit SMB only from explicit administrative hosts.
bash
# Disable SMB and block port 445 on RouterOS
/ip smb set enabled=no
/ip firewall filter add chain=input protocol=tcp dst-port=445 action=drop comment="Block SMB - CVE-2024-27686"
/ip firewall filter move [find comment="Block SMB - CVE-2024-27686"] 0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRouteros

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.31%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • GitHub PoC Repository

  • Exploit-DB #51931
  • Related CVEs
  • CVE-2025-42611: RouterOS Authentication Bypass Vulnerability

  • CVE-2026-7668: MikroTik RouterOS RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English