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-43855

CVE-2025-43855: tRPC WebSocket Server DOS Vulnerability

CVE-2025-43855 is a denial of service vulnerability in tRPC WebSocket servers that allows unauthenticated attackers to crash the server. This article covers the technical details, affected versions, and mitigation steps.

Published: May 11, 2026

CVE-2025-43855 Overview

CVE-2025-43855 is a denial of service vulnerability in tRPC, a TypeScript library for building typesafe APIs without schemas or code generation. The flaw affects tRPC versions starting from 11.0.0 and prior to 11.1.1. An unhandled exception is thrown when the WebSocket adapter validates malformed connectionParams, which terminates the tRPC WebSocket server process. Any unauthenticated remote attacker can trigger the crash by sending a crafted WebSocket connection. The issue affects any tRPC 11 server that enables WebSockets together with a createContext method. The maintainers shipped a fix in version 11.1.1.

Critical Impact

Unauthenticated attackers can crash tRPC 11 WebSocket servers remotely with a single malformed connection request, disrupting application availability.

Affected Products

  • tRPC versions 11.0.0 through 11.1.0 (WebSocket adapter)
  • tRPC servers with WebSockets enabled and a configured createContext method
  • Fastify and standalone WebSocket adapters built on the affected tRPC server package

Discovery Timeline

  • 2025-04-24 - CVE-2025-43855 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-43855

Vulnerability Analysis

The vulnerability is an Uncaught Exception flaw ([CWE-248]) in the tRPC WebSocket adapter. When a client opens a WebSocket connection, the server parses the connectionParams payload before establishing the tRPC context. The parsing and validation logic throws synchronously when the payload is malformed. Because the surrounding handler awaited the connection routine without guarding the rejection, the error propagated to the underlying HTTP/WebSocket framework and crashed the Node.js process. Restarting the process restores service, but the attack is trivially repeatable. The EPSS score is 0.293% at the 52nd percentile, reflecting low but non-trivial exploitation likelihood for a network-reachable DoS primitive.

Root Cause

The root cause is missing error handling around the asynchronous onConnection routine in the Fastify WebSocket plugin. Invalid connectionParams produced a rejected promise that was not caught, allowing the exception to escape the request handler. The fix removes the await and lets onConnection manage its own error boundary internally so a malformed payload no longer reaches the framework's top-level error handler.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker sends a WebSocket upgrade request to the tRPC endpoint and supplies a malformed connectionParams value. The server attempts to validate the payload, throws, and the Node.js process terminates. The impact is limited to availability, with no confidentiality or integrity loss.

typescript
       ...trpcOptions,
     });
 
-    fastify.get(prefix ?? '/', { websocket: true }, async (socket, req) => {
-      await onConnection(socket, req.raw);
+    fastify.get(prefix ?? '/', { websocket: true }, (socket, req) => {
+      onConnection(socket, req.raw);
       if (trpcOptions?.keepAlive?.enabled) {
         const { pingMs, pongWaitMs } = trpcOptions.keepAlive;
         handleKeepAlive(socket, pingMs, pongWaitMs);

Source: tRPC patch commit 9beb26c

Detection Methods for CVE-2025-43855

Indicators of Compromise

  • Repeated Node.js process crashes or container restarts correlated with inbound WebSocket upgrade requests to tRPC endpoints.
  • Unhandled promise rejection or uncaught exception entries in application logs originating from the tRPC WebSocket adapter.
  • WebSocket connection attempts containing malformed or unexpected connectionParams JSON payloads.

Detection Strategies

  • Inventory running Node.js services and identify any using @trpc/server between 11.0.0 and 11.1.0 with WebSockets enabled.
  • Alert on abnormal restart loops, exit code spikes, or process supervisor relaunches for services exposing tRPC WebSocket routes.
  • Inspect reverse proxy and WAF logs for WebSocket Upgrade requests targeting tRPC paths immediately preceding service outages.

Monitoring Recommendations

  • Track WebSocket connection failure rates and process uptime metrics for tRPC services using Prometheus, Datadog, or equivalent.
  • Forward Node.js stderr and uncaughtException events to a centralized log pipeline for analytics and correlation.
  • Implement rate limiting and anomaly detection on WebSocket handshake endpoints to flag repeated malformed handshakes from a single source.

How to Mitigate CVE-2025-43855

Immediate Actions Required

  • Upgrade @trpc/server and related tRPC packages to version 11.1.1 or later across all environments.
  • If patching is delayed, temporarily disable WebSocket transport and fall back to HTTP for tRPC procedures.
  • Audit createContext configurations and ensure no untrusted services accept WebSocket connections without front-line filtering.

Patch Information

The vulnerability is fixed in tRPC 11.1.1. The patch is implemented in commit 9beb26c636d44852e0f407f3d7a82ad54df65b4d and details are published in GitHub Security Advisory GHSA-pj3v-9cm8-gvj8. Update by running npm install @trpc/server@^11.1.1 (or the equivalent for yarn or pnpm) and redeploy all server processes.

Workarounds

  • Place tRPC WebSocket endpoints behind a reverse proxy or API gateway that validates connectionParams schema before forwarding upgrade requests.
  • Configure a process supervisor such as pm2 or Kubernetes liveness probes to auto-restart crashed Node.js workers while patching is in progress.
  • Apply IP-based rate limiting on WebSocket handshakes to reduce the rate at which an attacker can repeatedly crash a process.
bash
# Upgrade tRPC server packages to the patched release
npm install @trpc/server@^11.1.1 @trpc/client@^11.1.1

# Verify installed version
npm ls @trpc/server

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechTrpc

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-248
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-pj3v-9cm8-gvj8
  • 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