Description
SurrealDB versions before 3.1.0 fail to apply the SURREAL_WEBSOCKET_MAX_MESSAGE_SIZE limit to anonymous /sql WebSocket connections, allowing attackers to buffer unbounded frames in the per-connection read buffer. Attackers can stream WebSocket frames larger than the configured limit across multiple concurrent connections to consume excessive memory and degrade /sql availability.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | < 3.1.0 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-65rj-r9fh-jp2vVendor Advisory, Mitigation
- https://www.vulncheck.com/advisories/surrealdb-before-memory-amplification-via-sql-websocketThird Party Advisory
Timeline
- Published
- Jul 20, 2026
- Last modified
- Jul 22, 2026
- NVD status
- Analyzed