CVE-2026-145070
SurrealDB before 4.0.0 Authorization Bypass via DDL Namespace Recreation
- Severity
- low CVSS 2.3 (v4.0)
- Affects
- surrealdb
- Weakness
- CWE-862: Missing Authorization
- Published
- 4 December 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.