EXPOSURES › CVE-2026-134292
CVE-2026-134292
CRITICALCVE-2026-134292 allows authenticated users to bypass capability checks in SurrealDB's embedded JavaScript engine to execute arbitrary functions.
This vulnerability enables authenticated users to execute built-in functions they should be denied access to, effectively granting elevated privileges within the database. DIB organizations must ensure SurrealDB versions 1.0.0 through 4.0.0 are patched immediately, as this bypass undermines access controls and could lead to data exfiltration or system compromise. The issue is not a zero-day but a critical capability check bypass that must be treated as high-risk for compliance.
Shame score — The vulnerability represents a significant design flaw in access control logic that allows privilege escalation for authenticated users, indicating a failure to properly enforce security boundaries in the embedded scripting engine.
▸ RECOMMENDED ACTION Remote code execution — patch the affected products on priority.
SurrealDB 1.0.0 before 4.0.0 contains a capability check bypass in its embedded JavaScript scripting engine, where the surrealdb.functions bridge calls the internal fnc::synchronous() and fnc::asynchronous() dispatchers without enforcing function capability checks. Authenticated users denied access to built-in functions in SurrealQL can execute them by calling them through surrealdb.functions from embedded JavaScript.