NetSight
medium4.3

CVE-2026-134298

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 n…

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data or systems being changed.

Affected products · Surrealdb

ProductAffected versions
Surrealdb
from 3.0.0 before 4.0.0

Weakness classification

References