CVE-2026-134298 Details
Description
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.
A vulnerability in SurrealDB versions 3.0.0 prior to 4.0.0 allows users with the VIEWER role to bypass authorization and modify the database schema. This is achieved by exploiting the CREATE statement on nonexistent tables in non-STRICT databases, which implicitly creates the table without requiring the necessary DEFINE TABLE permissions. As a result, VIEWER users can add arbitrary empty SCHEMALESS tables, potentially causing conflicts with application-defined table names or cluttering the database schema.
Users can upgrade to SurrealDB version 4.0.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SurrealDB | >= 3.0.0, < 4.0.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 21, 2026 | New CVE Received | [email protected] |
Volerion