CVE-2026-134299
CVE-2026-134299 · SurrealDB 3.0.4 before 4.0.0 Memory Exhaustion via GraphQL WebSocket Upgrade
CVSS 8.7 · High · EPSS 0.8% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- surrealdbUpdate to 4.0.0
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
surrealdb
- Versions
- ≥ 3.0.4, < 4.0.0: Affected (semver)
- 4.0.0: Not affected (semver)
Update to 4.0.0
Original sources
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p3c2-wh5f-jwqm
- https://github.com/surrealdb/surrealdb/commit/b80f46b3131905175d26d5085246efcd81895cd4
- https://www.vulncheck.com/advisories/surrealdb-3.0.4-before-4.0.0-memory-exhaustion-via-graphql-websocket-upgrade
- https://nvd.nist.gov/vuln/detail/CVE-2026-134299