CVE-2025-43855
tRPC allows users to build & consume fully typesafe APIs without …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/trpc/trpc/commit/9beb26c636d44852e0f407f3d7a82ad54df65b4d
- github.com/trpc/trpc/security/advisories/GHSA-pj3v-9cm8-gvj8
- nvd.nist.gov/vuln/detail/CVE-2025-43855
- github.com/trpc/trpc/pull/5839
- github.com/trpc/trpc/blob/8cef54eaf95d8abc8484fe1d454b6620eeb57f2f/packages/server/src/ada
- github.com/advisories/GHSA-pj3v-9cm8-gvj8
- nvd.nist.gov/vuln/detail/CVE-2025-43855
- cve.org/CVERecord?id=CVE-2025-43855
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.