CVE-2026-137490
JSON

8.7high

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

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.57% (higher than 41% of CVEs)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
surrealdb surrealdbbefore 4.0.0
Not affected: 4.0.0
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137490 changed 2026-11-26CVE Terms of Use
NVDCVE-2026-137490 changed 2026-11-26Public domain