CVE-2026-134298
SurrealDB 3.0.0 before 4.0.0 VIEWER Role Authorization Bypass via Implicit Table Creation
CVSS Score
4.3
EPSS Score
0.3%
EPSS Percentile
15th
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.
| CWE | CWE-862 |
| Vendor | surrealdb |
| Product | surrealdb |
| Published | Nov 21, 2026 |
| Last Updated | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for surrealdb surrealdb
Be the first to know when new medium vulnerabilities affecting surrealdb surrealdb are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
Affected Versions
surrealdb / surrealdb
3.0.0 < 4.0.0