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.
Metrics
CVSS 3.1 4.2/10
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:LWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Deferred