CVE-2026-134298 SurrealDB 3.0.0 before 4.0.0 VIEWER Role Authorization Bypass via Implicit Table Creation

Published Updated

SurrealDB VIEWER users can create empty SCHEMALESS tables in non-STRICT databases, cluttering schemas or colliding with application table names.

CVSS score

Medium

5.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.0
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-134298?

CVE-2026-134298 is a medium-severity missing authorization vulnerability in surrealdb, published on 21 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-862

How severe is CVE-2026-134298?

CVE-2026-134298 scores 5.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134298?

1 open source package ship an affected version, including surrealdb.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
From 3.0.04.0.0

How do I fix CVE-2026-134298?

Upgrade surrealdb to 4.0.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-134298 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134298 exists.

Sources

Also known as GHSA-4778-p23j-frcj, GHSA-m887-2246-mgw3.

Is CVE-2026-134298 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free