CVE-2026-63755: SurrealDB before 3.1.0 Permission Bypass via WHERE Clause

Published Jul 20, 2026
·
Updated

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.

Affected Software

2 affected components
SurrealDB SurrealDB<3.1.0
SurrealDB SurrealDB<3.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.1.0
  2. Configuration

    Disable scripting support by not enabling the --allow-scripting flag, since exfiltration is most direct when scripting functions are enabled.

    SurrealDB --allow-scripting = false
  3. Compensating control

    Restrict access so that only trusted users can authenticate against the database(s) affected by this WHERE-clause permission bypass, because the vulnerability is confined to the attacker’s current database.

Event History

Jul 20, 2026
CVE Published
via MITRE·12:04 PM
Data Sourced
via MITRE·12:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:19 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-63755?

CVE-2026-63755 has a high severity rating of 7.1.

2

How do I fix CVE-2026-63755?

To mitigate CVE-2026-63755, upgrade SurrealDB to version 3.1.0 or later.

3

What can be exploited in CVE-2026-63755?

CVE-2026-63755 allows attackers to bypass permission restrictions via improperly evaluated WHERE clauses.

4

What systems are affected by CVE-2026-63755?

CVE-2026-63755 affects all versions of SurrealDB prior to 3.1.0.

5

What type of attack does CVE-2026-63755 represent?

CVE-2026-63755 represents a permission bypass vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203