Medium severity · published Jul 20, 2026
CVE-2026-63755
SurrealDB before 3.1.0 Permission Bypass via WHERE Clause
6.5
CVSS
0.4%
EPSS
No
On KEV
Description
SurrealDB before 3.1.0 evaluates user-supplied WHERE clauses in SELECT statements (and SET/MERGE/CONTENT/PATCH clauses in UPDATE, UPSERT, INSERT ON DUPLICATE KEY UPDATE, and RELATE update-variant statements) against full record data before enforcing PERMISSIONS FOR SELECT WHERE restrictions. An authenticated user — including Record and Scope users — can exploit this ordering flaw to read the full contents of any table in the database they are authenticated against, bypassing table-level permission checks. Exfiltration is most direct when scripting functions are enabled (--allow-scripting), but is also possible via SurrealQL's THROW statement and timing-based side channels without scripting. The vulnerability is confined to the attacker's current database and does not cross namespace or database isolation boundaries.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SU
surrealdb · surrealdb
before 3.1.0 · source: vendor, NVD
Affected product
SU
surrealdb
surrealdb
More from surrealdb
8.8
CVE-2026-63763
SurrealDB before 2.5.0 Privilege Escalation via Future Fields
8.8
CVE-2026-63757
SurrealDB before 3.1.0 Session Hijacking via /rpc sessions
8.8
CVE-2025-71390
SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
8.8
CVE-2024-58366
SurrealDB before 1.1.1 Format String via Scripting Functions
8.8
CVE-2024-58362
SurrealDB before 1.5.5 Query Injection via RPC API