๐Ÿ” CVE Alert

CVE-2026-63755

MEDIUM 6.5

SurrealDB before 3.1.0 Permission Bypass via WHERE Clause

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-863
Vendor surrealdb
Product surrealdb
Published Jul 20, 2026
Last Updated Jul 20, 2026
Stay Ahead of the Next One

Get instant alerts for surrealdb surrealdb

Be the first to know when new medium vulnerabilities affecting surrealdb surrealdb are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

surrealdb / surrealdb
0 < 3.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-98fx-66cf-fc7c vulncheck.com: https://www.vulncheck.com/advisories/surrealdb-before-permission-bypass-via-where-clause

Credits

๐Ÿ” LucyEgan