CVE-2026-137490

SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge

High published · updated

8.7
CVSS score out of 10 · NVD (vulncheck.com)

Description

SurrealDB before 4.0.0 contains an authorization bypass vulnerability that allows restricted subjects to execute arbitrary queries by calling the JavaScript surrealdb.query() bridge. Attackers permitted to run a specific script can bypass the Capabilities::allows_query() gate in the query module to execute unrestricted queries beyond their predefined operations.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
surrealdb surrealdb 0 → <4.0.04.0.0 CVE.org

References