freenode

← CVE tracker

CVE-2026-137490

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

Severity
high CVSS 8.7 (v4.0)
Affects
surrealdb
Weakness
CWE-862: Missing Authorization
Published
26 November 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.