CVE-2025-43855: tRPC 11 WebSocket DoS Vulnerability
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.
References
- github.com/advisories/GHSA-pj3v-9cm8-gvj8
- github.com/trpc/trpc
- github.com/trpc/trpc/blob/8cef54eaf95d8abc8484fe1d454b6620eeb57f2f/packages/server/src/adapters/ws.ts
- github.com/trpc/trpc/commit/9beb26c636d44852e0f407f3d7a82ad54df65b4d
- github.com/trpc/trpc/pull/5839
- github.com/trpc/trpc/security/advisories/GHSA-pj3v-9cm8-gvj8
- nvd.nist.gov/vuln/detail/CVE-2025-43855
Code Behaviors & Features
Detect and mitigate CVE-2025-43855 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →