Skip to content
OpenAdvisories
High · 8.7 CVE-2025-43855 EUVD-2025-12106GHSA-pj3v-9cm8-gvj8

tRPC 11 WebSocket DoS Vulnerability

Published Apr 24, 2025 · Updated May 14, 2025 · Assigned by GitHub_M

Description

tRPC allows users to build & consume fully typesafe APIs without schemas or code generation. In versions starting from 11.0.0 to before 11.1.1, an unhandled error is thrown when validating invalid connectionParams which crashes a tRPC WebSocket server. This allows any unauthenticated user to crash a tRPC 11 WebSocket server. Any tRPC 11 server with WebSocket enabled with a createContext method set is vulnerable. This issue has been patched in version 11.1.1.

Affected products

VendorProductAffectedFixed
trpc trpc >= 11.0.0, < 11.1.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @trpc/server >= 11.0.0, < 11.1.1 11.1.1 GHSA-pj3v-9cm8-gvj8

References