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-2026-6993

CVE-2026-6993: go-kratos Kratos RCE Vulnerability

CVE-2026-6993 is a remote code execution flaw in go-kratos kratos up to version 2.9.2 affecting the http.DefaultServeMux Fallback Handler. This article covers technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-6993 Overview

A security flaw has been discovered in go-kratos kratos up to version 2.9.2. This vulnerability impacts the function NewServer in the file transport/http/server.go of the component http.DefaultServeMux Fallback Handler. The manipulation results in an unintended intermediary condition (CWE-441). The attack may be launched remotely, and exploit information has been released to the public and may be used for attacks.

Critical Impact

This vulnerability allows remote attackers to exploit an unintended intermediary condition in the HTTP server component, potentially enabling request routing manipulation and unauthorized access to backend services through the fallback handler mechanism.

Affected Products

  • go-kratos kratos versions up to 2.9.2
  • Applications using the transport/http/server.go NewServer function
  • Systems relying on http.DefaultServeMux fallback handler behavior

Discovery Timeline

  • 2026-04-25 - CVE CVE-2026-6993 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-6993

Vulnerability Analysis

This vulnerability is classified as CWE-441 (Unintended Proxy or Intermediary), which occurs when the software receives a request intended for another entity and forwards that request to the intended entity. In the context of go-kratos kratos, the NewServer function in transport/http/server.go improperly handles requests through the http.DefaultServeMux fallback handler.

The flaw exists because when a custom HTTP server is created using the kratos framework, requests that don't match any registered routes may inadvertently fall through to the Go standard library's http.DefaultServeMux. This creates an unintended intermediary condition where requests could be routed to handlers registered on the default serve mux by other parts of the application or third-party libraries.

Root Cause

The root cause stems from the kratos HTTP server's fallback behavior when handling unmatched routes. When the NewServer function initializes the HTTP server without explicitly configuring a handler for unmatched paths, the framework defaults to using http.DefaultServeMux. This design decision creates a potential security gap where:

  1. Other components or libraries may register handlers on the global DefaultServeMux
  2. Requests intended for the kratos application could be inadvertently routed to these unrelated handlers
  3. Attackers could craft requests that bypass the intended routing logic

Attack Vector

The vulnerability is exploitable remotely via network-based attacks. An attacker can manipulate HTTP requests to exploit the fallback handler mechanism:

  1. The attacker sends specially crafted HTTP requests to the kratos-based application
  2. These requests are designed to not match any explicitly registered routes
  3. The requests fall through to the http.DefaultServeMux fallback handler
  4. If other handlers exist on the default mux, the requests may be processed by unintended code paths
  5. This can lead to unauthorized access, information disclosure, or other security impacts depending on what handlers are registered on the default mux

The vulnerability mechanism involves improper request routing in the NewServer function. When requests don't match registered routes, they fall through to http.DefaultServeMux, which may have handlers registered by other application components or third-party libraries. For technical details, refer to GitHub Issue #3810 and Pull Request #3814.

Detection Methods for CVE-2026-6993

Indicators of Compromise

  • Unexpected HTTP requests reaching handlers not explicitly registered in your kratos application
  • Log entries showing requests being processed by http.DefaultServeMux when they should be handled by kratos routes
  • Anomalous access patterns to endpoints that don't exist in the application's defined routes

Detection Strategies

  • Monitor application logs for requests that fail route matching but still receive responses
  • Implement request auditing to track which handler processes each incoming request
  • Review application dependencies for components that may register handlers on http.DefaultServeMux
  • Use network monitoring to identify unusual request patterns targeting non-existent endpoints

Monitoring Recommendations

  • Enable verbose logging for the kratos HTTP server component to track request routing decisions
  • Deploy application performance monitoring (APM) to visualize request flow through the application
  • Implement alerting for requests processed by unexpected handlers
  • Conduct regular security audits of registered handlers on both kratos and http.DefaultServeMux

How to Mitigate CVE-2026-6993

Immediate Actions Required

  • Upgrade go-kratos kratos to a version containing the patch commit 0284a5bcf92b5a7ee015300ce3051baf7ae4718d
  • Review your application for any handlers registered on http.DefaultServeMux and assess their security implications
  • Implement explicit 404 handlers in your kratos application to prevent fallback to default mux
  • Audit third-party dependencies for potential DefaultServeMux handler registrations

Patch Information

The patch is identified as commit 0284a5bcf92b5a7ee015300ce3051baf7ae4718d. This fix addresses the unintended intermediary condition in the NewServer function. Users should apply this patch or upgrade to a version that includes this fix. For more details, see GitHub Pull Request #3814 and the patch commit.

Workarounds

  • Explicitly configure a catch-all handler in your kratos application to prevent requests from falling through to http.DefaultServeMux
  • Isolate your kratos application in a separate process to avoid sharing the DefaultServeMux with other components
  • Implement strict request validation at the network edge (reverse proxy, API gateway) to filter unexpected requests
  • Use Go's http.NewServeMux() to create isolated mux instances instead of relying on the default global mux
bash
# Verify kratos version and check for the patch
go list -m github.com/go-kratos/kratos/v2
# Update to patched version
go get github.com/go-kratos/kratos/v2@latest
go mod tidy

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGo Kratos

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/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
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-441
  • Technical References
  • GitHub Commit Update

  • GitHub Kratos Repository

  • GitHub Issue #3810

  • GitHub Pull Request #3814

  • VulDB Submission #797099

  • VulDB Vulnerability #359545

  • VulDB CTI #359545
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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