# CVE-2026-134299: SurrealDB 3.0.4 before 4.0.0 Memory Exhaustion via GraphQL WebSocket Upgrade

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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): 1.22%, higher than 69% of CVEs (2026-12-01)
- Published: 2026-11-21T16:35:08.132Z
- Modified: 2026-11-23T17:17:34.593Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

SurrealDB 3.0.4 before 4.0.0 does not apply operator-configured WebSocket frame, message, and buffer size limits to the GraphQL WebSocket upgrade handler at GET /graphql, falling back to permissive library defaults. Unauthenticated remote attackers who supply the target namespace and database in request headers can hold up to 64 MiB of in-flight data per concurrent connection, exhausting server memory and degrading availability.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 3.0.4 before 4.0.0 (not affected: 4.0.0)

## Every score

- VulnCheck: 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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p3c2-wh5f-jwqm> (vendor-advisory)
- <https://github.com/surrealdb/surrealdb/commit/b80f46b3131905175d26d5085246efcd81895cd4> (patch)
- <https://www.vulncheck.com/advisories/surrealdb-3.0.4-before-4.0.0-memory-exhaustion-via-graphql-websocket-upgrade> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134299](https://www.cve.org/CVERecord?id=CVE-2026-134299), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134299](https://nvd.nist.gov/vuln/detail/CVE-2026-134299), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134299 · Whole record: https://cve.day/CVE-2026-134299.json · Rebuilt by cve.day 2026-11-25T22:59:52.537Z
