CVE-2026-137490
Published:November 26, 2026
Updated:December 01, 2026
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 Packages
https://github.com/surrealdb/surrealdb.git (GITHUB):
Affected version(s) >=v2.2.0 <v4.0.0 || >=v3.0.0-alpha.1 <v4.0.0Fix Suggestion:
Update to version v4.0.0surrealdb-core (RUST):
Affected version(s) >=2.2.0 <4.0.0 || >=3.0.0-alpha.8 <4.0.0Fix Suggestion:
Update to version 4.0.0Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Missing Authorization
EPSS
Base Score:
0.57