Skip to content
CVE PROGRAM SOURCE RECORD2.3 Low

CVE-2026-145070

SurrealDB before 4.0.0 Authorization Bypass via DDL Namespace Recreation

Description

SurrealDB before 4.0.0 lacks namespace-creation authorization checks in DDL statements such as DEFINE FUNCTION, DEFINE PARAM, and DEFINE USER ON NS. Database- or namespace-level Editors holding a WebSocket or embedded SDK session authenticated before a root administrator dropped their namespace can execute DDL to silently recreate that namespace, empty, without root privileges.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

surrealdb surrealdb

Default version status: unaffected

  • 0 to < 4.0.0affected
  • 4.0.0unaffected
pkg:cargo/surrealdb

References