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-2025-55300

CVE-2025-55300: Komari Server Monitor RCE Vulnerability

CVE-2025-55300 is a remote code execution flaw in Komari server monitoring tool caused by disabled origin checking in WebSocket upgrader. Attackers can exploit CSWSH to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation.

Updated: May 19, 2026

CVE-2025-55300 Overview

CVE-2025-55300 affects Komari, a lightweight, self-hosted server monitoring tool. Versions prior to 1.0.4-fix1 ship a WebSocket upgrader with origin checking disabled. This configuration exposes authenticated users to Cross-Site WebSocket Hijacking (CSWSH) attacks. Any third-party website can issue WebSocket requests to the terminal endpoint using the victim's browser cookies. Successful exploitation grants remote code execution on the monitored server through the hijacked terminal session. The flaw is categorized under [CWE-79] and is fixed in release 1.0.4-fix1.

Critical Impact

Cross-Site WebSocket Hijacking against the terminal endpoint enables remote code execution on the Komari host when an authenticated administrator visits an attacker-controlled page.

Affected Products

  • Komari server monitoring tool versions prior to 1.0.4-fix1
  • Self-hosted Komari instances exposing the terminal WebSocket endpoint
  • Deployments where administrators authenticate via standard browser session cookies

Discovery Timeline

  • 2025-08-18 - CVE-2025-55300 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-55300

Vulnerability Analysis

Komari exposes a WebSocket endpoint that brokers an interactive terminal for authenticated administrators. The server-side upgrader accepts the HTTP Upgrade handshake without validating the Origin header. Browsers attach session cookies automatically when scripts initiate WebSocket connections, regardless of the originating site. An attacker who lures an authenticated user to a malicious page can therefore open a terminal session through the victim's browser. Commands sent over that channel execute on the Komari host with the privileges of the running service, producing remote code execution.

Root Cause

The root cause is a missing origin verification step in the WebSocket upgrade path. Standard Gorilla-style upgraders default to permissive CheckOrigin behavior unless the application provides an explicit allowlist. Komari relied on the default, so the server treats cross-origin handshake requests as legitimate. Combined with cookie-based session authentication, this design fails to bind the WebSocket channel to a trusted origin.

Attack Vector

Exploitation requires a Komari administrator with an active session to visit an attacker-controlled URL. The attacker page contains JavaScript that opens a WebSocket to the Komari terminal endpoint. The browser attaches the victim's authentication cookie to the handshake. Once upgraded, the attacker streams shell commands and receives output. No credentials, prompts, or additional clicks are needed beyond the initial page visit.

No verified public proof-of-concept code is available. Refer to the GitHub Security Advisory GHSA-q355-h244-969h and the GitHub Commit Monitoring Update for technical details on the fix.

Detection Methods for CVE-2025-55300

Indicators of Compromise

  • WebSocket Upgrade requests to the Komari terminal endpoint where the Origin header does not match the deployed Komari hostname.
  • Terminal sessions originating from referrers or IP addresses that are not associated with administrator activity.
  • Unexpected shell command execution, outbound connections, or new processes spawned by the Komari service account.

Detection Strategies

  • Inspect reverse proxy or web server access logs for /ws or terminal WebSocket paths and alert on mismatched Origin values.
  • Correlate Komari authentication events with terminal session opens to identify sessions initiated without a prior login UI interaction.
  • Monitor for child processes of the Komari binary that deviate from documented monitoring behavior.

Monitoring Recommendations

  • Forward Komari and reverse proxy logs to a centralized analytics platform with retention sufficient to investigate session abuse.
  • Apply egress monitoring to the host running Komari to detect command-and-control traffic following terminal hijack.
  • Track Komari version inventory across hosts and alert when any instance reports a version earlier than 1.0.4-fix1.

How to Mitigate CVE-2025-55300

Immediate Actions Required

  • Upgrade every Komari deployment to version 1.0.4-fix1 or later without delay.
  • Invalidate existing administrator sessions and rotate session secrets after patching.
  • Restrict network access to the Komari web interface to trusted administrative networks or VPN ranges.

Patch Information

The vendor fix is delivered in Komari release 1.0.4-fix1. The corrective change is recorded in commit d31d12e59febce100ab0285b93338f09aa5d6cb1, which enforces origin validation in the WebSocket upgrader. Review the GitHub Security Advisory GHSA-q355-h244-969h for upgrade guidance and verification steps.

Workarounds

  • Place Komari behind a reverse proxy that rejects WebSocket handshakes when the Origin header does not match the canonical Komari hostname.
  • Require administrators to authenticate through a separate identity-aware proxy that enforces same-site session handling.
  • Configure session cookies with SameSite=Strict at the proxy layer to block cross-site cookie attachment until the upgrade is applied.
bash
# Example NGINX snippet to reject cross-origin WebSocket handshakes
map $http_origin $komari_origin_ok {
    default 0;
    "https://komari.example.com" 1;
}

server {
    listen 443 ssl;
    server_name komari.example.com;

    location /ws {
        if ($komari_origin_ok = 0) { return 403; }
        proxy_pass http://127.0.0.1:25774;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechKomari

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.84%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Monitoring Update

  • GitHub Security Advisory GHSA-q355-h244-969h
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel 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