CVE-2026-137490

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

Published Nov 26, 2026 CVSS 4.0 · 8.7 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-862
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 26, 2026, 4:01 PM
Reserved
Nov 26, 2026, 12:40 PM
Status
Deferred
Published
Nov 26, 2026, 4:17 PM
Modified
Nov 26, 2026, 4:17 PM