A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-5740

CVE-2026-5740: Mattermost Server DOS Vulnerability

CVE-2026-5740 is a denial of service vulnerability in Mattermost Server that allows unauthenticated attackers to crash the server via crafted WebSocket messages. This article covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-5740 Overview

CVE-2026-5740 is a denial-of-service vulnerability in Mattermost Server affecting versions 11.6.x through 11.6.0, 11.5.x through 11.5.3, 11.4.x through 11.4.4, and 10.11.x through 10.11.14. The flaw resides in the handling of msgpack-encoded WebSocket frames on the public WebSocket endpoint. Mattermost fails to validate frame metadata before allocating memory, allowing an unauthenticated remote attacker to crash the server process with a single crafted binary WebSocket message. The advisory is tracked as Mattermost Advisory ID MMSA-2026-00647 and is classified under CWE-789 (Memory Allocation with Excessive Size Value).

Critical Impact

An unauthenticated attacker can trigger a full service outage for all Mattermost users by sending a single crafted binary WebSocket message to the public endpoint.

Affected Products

  • Mattermost Server 11.6.x through 11.6.0
  • Mattermost Server 11.5.x through 11.5.3, and 11.4.x through 11.4.4
  • Mattermost Server 10.11.x through 10.11.14

Discovery Timeline

  • 2026-05-22 - CVE-2026-5740 published to NVD
  • 2026-05-22 - Last updated in NVD database

Technical Details for CVE-2026-5740

Vulnerability Analysis

The vulnerability is a resource exhaustion flaw triggered through the public WebSocket endpoint of Mattermost Server. Mattermost accepts binary WebSocket frames encoded with MessagePack (msgpack), a compact binary serialization format. The server reads size metadata embedded in the msgpack payload and allocates memory based on the declared size before validating that the value is reasonable or that subsequent bytes match the declared length.

An attacker crafts a binary WebSocket frame whose msgpack header declares an excessive size value. The Go runtime attempts to allocate the requested buffer, exhausting available memory and crashing the server process. Because the WebSocket endpoint is reachable without authentication, the attack does not require valid credentials, team membership, or any prior interaction.

The resulting process crash terminates all active WebSocket sessions and HTTP request handling, producing a full service outage until the process restarts. Repeated requests can keep the service in a crash loop.

Root Cause

The root cause is missing size validation between msgpack frame parsing and memory allocation, classified as CWE-789. The decoder trusts the declared length field in the msgpack header without bounding it against the actual frame size or a configured maximum, violating safe deserialization practice.

Attack Vector

Exploitation requires only network reachability to the Mattermost WebSocket endpoint. The attacker opens a WebSocket connection to the public endpoint, transmits a single binary frame containing the malformed msgpack payload, and the server process terminates. No authentication, user interaction, or specific privileges are required. See the Mattermost Security Updates advisory for additional context.

Detection Methods for CVE-2026-5740

Indicators of Compromise

  • Unexpected Mattermost server process crashes or restarts correlated with active WebSocket connections.
  • Out-of-memory (OOM) kill events in system logs targeting the mattermost process.
  • Binary WebSocket frames sent to /api/v4/websocket from unauthenticated or low-reputation source IPs.
  • Spikes in resident memory consumption immediately preceding process termination.

Detection Strategies

  • Monitor application logs for abnormal termination signals and panic traces in the Mattermost process.
  • Inspect reverse proxy and load balancer logs for WebSocket upgrade requests followed by immediate disconnects.
  • Alert on repeated WebSocket connection attempts from the same source IP that precede service restarts.

Monitoring Recommendations

  • Track process uptime and memory utilization for Mattermost worker nodes with a baseline alert on rapid growth.
  • Enable WebSocket frame size logging at the reverse proxy layer (NGINX, HAProxy) to record unusually large frames.
  • Correlate crash events with network telemetry to identify the source IP issuing the malformed frames.

How to Mitigate CVE-2026-5740

Immediate Actions Required

  • Upgrade Mattermost Server to a fixed release listed in the Mattermost Security Updates advisory.
  • Restrict access to the WebSocket endpoint behind a VPN or IP allowlist where business requirements permit.
  • Configure a reverse proxy to enforce maximum WebSocket frame and message size limits.

Patch Information

Mattermost has released fixed versions addressed in advisory MMSA-2026-00647. Administrators running 11.6.x, 11.5.x, 11.4.x, or 10.11.x branches must update to the patched build for their respective branch. Refer to the Mattermost Security Updates page for the exact fixed version numbers and upgrade instructions.

Workarounds

  • Place Mattermost behind a reverse proxy that caps WebSocket frame size below the threshold required to trigger the allocation, such as the NGINX client_max_body_size and equivalent WebSocket buffer limits.
  • Deploy rate limiting on WebSocket upgrade requests at the edge to slow repeated exploitation attempts.
  • Run Mattermost under a process supervisor with memory cgroup limits so the OS terminates the process before the host is affected, and enable automatic restart.
bash
# Example NGINX configuration limiting WebSocket payload size
http {
    client_max_body_size 1m;
    proxy_read_timeout 60s;

    server {
        location /api/v4/websocket {
            proxy_pass http://mattermost_backend;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_buffer_size 8k;
            proxy_buffers 4 8k;
        }
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMattermost

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.11%

  • 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-789
  • Vendor Resources
  • Mattermost Security Updates
  • Related CVEs
  • CVE-2026-4915: Mattermost Webhook DoS Vulnerability

  • CVE-2026-4635: Mattermost Server DoS Vulnerability

  • CVE-2026-4646: Mattermost Server DoS Vulnerability

  • CVE-2026-5308: Mattermost Server DoS 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