Authorization Bypass in SurrealDB Affecting Users with VIEWER Role
CVE-2026-134298
5.3MEDIUM
What is CVE-2026-134298?
SurrealDB prior to version 4.0.0 is susceptible to an authorization bypass vulnerability affecting users assigned the read-only VIEWER role. This flaw allows authenticated users to inadvertently modify the database schema by creating new empty SCHEMALESS tables, due to the lack of a permission check for implicit table creation during the execution of CREATE statements. As a result, it poses a risk of schema clutter and potential collisions with existing application table names in non-STRICT databases.
Affected Version(s)
surrealdb 3.0.0 < 4.0.0
surrealdb 4.0.0
