CVE-2026-134299 SurrealDB 3.0.4 before 4.0.0 Memory Exhaustion via GraphQL WebSocket Upgrade
HighCVSS 8.7
EPSS 0.78%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | >= 3.0.4, < 4.0.0 | 4.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | >= 3.0.4, < 4.0.0 | 4.0.0 |
References
- GitHub Security Advisory (GHSA-p3c2-wh5f-jwqm) vendor-advisory
- github.com patch
- VulnCheck Advisory: SurrealDB 3.0.4 before 4.0.0 Memory Exhaustion via GraphQL WebSocket Upgrade third-party-advisory
- ENISA EUVD EUVD-2026-132240 third-party-advisory
- nvd.nist.gov