CVE-2026-134298
SurrealDB 3.0.0 before 4.0.0 VIEWER Role Authorization Bypass via Implicit Table Creation
- Severity
- medium CVSS 5.3 (v4.0)
- Affects
- surrealdb
- Weakness
- CWE-862: Missing Authorization
- Published
- 21 November 2026 by VulnCheck
SurrealDB 3.0.0 before 4.0.0 contains an authorization bypass that allows users with the read-only VIEWER role to modify database schema, because CREATE on a nonexistent table implicitly defines it without the DEFINE TABLE permission check applied to explicit definitions. Authenticated VIEWER users can issue CREATE statements in non-STRICT databases to add arbitrary empty SCHEMALESS tables, cluttering schemas or colliding with application table names.
Our coverage
We have not written about this one. Know why it matters? Send a tip.