{"id":"CVE-2025-43855","published":"2025-04-24T13:58:30Z","modified":"2025-05-14T20:07:29Z","title":"tRPC 11 WebSocket DoS Vulnerability","vendor":"trpc","product":"trpc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00431,"percentile":0.3825,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/trpc/trpc/security/advisories/GHSA-pj3v-9cm8-gvj8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/trpc/trpc/commit/9beb26c636d44852e0f407f3d7a82ad54df65b4d","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":7.65},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"trpc","affectedVersions":[{"vendor":"trpc","product":"trpc","versions":[">= 11.0.0, < 11.1.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-24T14:14:25.436065Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@trpc/server","vulnerableRanges":[">=11.0.0, <11.1.1"],"patched":["11.1.1"],"from":["GHSA-pj3v-9cm8-gvj8"],"provenance":"source"}],"summary":{"text":"The flaw is an unhandled error in tRPC's WebSocket server, affecting the tRPC library in versions 11.0.0 through before 11.1.1, where invalid connectionParams are not handled and cause the server to crash. An unauthenticated remote attacker with network access can crash any tRPC 11 server that has WebSocket enabled and a createContext method set, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:40Z"},"euvd":{"id":"EUVD-2025-12106","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-43855","published":"2025-04-24","fixed":"11.1.1","kev":false},{"cve":"CVE-2025-68130","published":"2025-12-16","fixed":"11.8.0","kev":false,"link":{"from":"CVE-2025-43855","to":"CVE-2025-68130","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@trpc/server","fromFixed":"11.1.1","toFixed":"11.8.0","daysApart":236}]}}],"package":"npm:@trpc/server"}}