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.
| Package | Affected | Fixed in |
|---|---|---|
surrealdb crates.iopkg:cargo/surrealdb | From 3.0.0 | 4.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.