CVE-2025-43855
HIGH 8.7CVSS 4.0tRPC 11 WebSocket DoS Vulnerability
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.
- Published
- 24 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-248CWE-460
- Also known as
- GHSA-pj3v-9cm8-gvj8
- Sources
- NVDJSONOSV GHSA-pj3v-9cm8-gvj8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @trpc/server | >= 11.0.0, < 11.1.1 | 11.1.1 |
References
- https://github.com/trpc/trpc/commit/9beb26c636d44852e0f407f3d7a82ad54df65b4d · WEB
- https://github.com/trpc/trpc/security/advisories/GHSA-pj3v-9cm8-gvj8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-43855 · ADVISORY
- https://github.com/trpc/trpc/pull/5839 · WEB
- https://github.com/trpc/trpc · PACKAGE
- https://github.com/trpc/trpc/blob/8cef54eaf95d8abc8484fe1d454b6620eeb57f2f/packages/server/src/adapters/ws.ts#L171 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 24 Apr 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Apr 2025)