CVE-2025-43855 tRPC 11 WebSocket DoS Vulnerability
HighCVSS 8.7
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| trpc @trpc/server(npm) | >= 11.0.0, < 11.1.1 | 11.1.1 | Fixed |
| trpc | = >= 11.0.0, < 11.1.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| trpc @trpc/server(npm) | >= 11.0.0, < 11.1.1 | 11.1.1 |
| trpc | = >= 11.0.0, < 11.1.1 | No fix listed |
References
- https://github.com/trpc/trpc/security/advisories/GHSA-pj3v-9cm8-gvj8 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- https://github.com/trpc/trpc/commit/9beb26c636d44852e0f407f3d7a82ad54df65b4d patch
- github.com
- github.com
- github.com product