CVE-2026-134292: SurrealDB Flaw Bypasses Script Checks

A critical flaw in the SurrealDB database, tracked as CVE-2026-134292, was published on 21 November 2026 with a severity score of 9.8 out of 10. It affects SurrealDB versions from 1.0.0 up to, but not including, 4.0.0, and the fix is to upgrade to SurrealDB 4.0.0 or later.
The flaw is a capability check bypass in SurrealDB's embedded JavaScript scripting engine. According to the CVE record, the surrealdb.functions bridge calls the internal dispatchers fnc::synchronous() and fnc::asynchronous() directly, skipping the capability checks that are supposed to decide what embedded scripts are allowed to do.
What the bypass means in practice
SurrealDB lets administrators restrict scripting through capabilities, so that only approved functions and operations can run inside the database. A bypass of those checks means a script could reach built-in functions that the deployment intended to block. The CVE record does not describe a specific theft of data or a remote code execution outcome, and it should not be read as claiming one.
There is no public exploit for the flaw and no confirmed exploitation has been reported. That does not make it safe to ignore: a 9.8 score reflects how badly a bypass of a security boundary can go wrong if attackers find a way to use it, especially on a database that applications trust with their data.
What administrators should do
Administrators running any SurrealDB version before 4.0.0 should upgrade to 4.0.0 or later. Until the upgrade is done, they should review who is able to run embedded scripts on their instances and tighten scripting permissions where scripts are not needed. SurrealDB 4.0.0 was already available before this CVE was published, so the fixed version is not something users have to wait for.