# CVE-2025-43855: tRPC 11 WebSocket DoS Vulnerability

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-04-24T13:58:30.536Z
- Modified: 2026-06-17T09:24:39.137Z
- Also known as: GHSA-pj3v-9cm8-gvj8
- Weaknesses: CWE-248, CWE-460
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- trpc trpc: >= 11.0.0, < 11.1.1
- @trpc/server (npm): from 11.0.0 before 11.1.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/trpc/trpc/security/advisories/GHSA-pj3v-9cm8-gvj8> (web)
- <https://github.com/trpc/trpc/commit/9beb26c636d44852e0f407f3d7a82ad54df65b4d> (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)

## Sources

- CVE List: [CVE-2025-43855](https://www.cve.org/CVERecord?id=CVE-2025-43855), CVE Terms of Use, modified 2025-05-14
- GitHub Advisory Database: [GHSA-pj3v-9cm8-gvj8](https://github.com/advisories/GHSA-pj3v-9cm8-gvj8), CC-BY-4.0, modified 2025-04-24
- NVD: [CVE-2025-43855](https://nvd.nist.gov/vuln/detail/CVE-2025-43855), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-43855 · Whole record: https://cve.day/CVE-2025-43855.json · Rebuilt by cve.day 2026-11-25T22:58:56.885Z
