CVE-2026-134298

published 21 Nov 2026 · updated 25 Nov 2026

SurrealDB 3.0.0 before 4.0.0 VIEWER Role Authorization Bypass via Implicit Table Creation

4.3MediumCVSS 4.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.0.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb>=3.0.0 <4.0.04.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-134298 severity on Zeptric[![CVE-2026-134298](https://zeptric.io/badge/cve/CVE-2026-134298.svg)](https://zeptric.io/cve/CVE-2026-134298)