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

High 7.1 Published Updated

Authenticated users can bypass table-level permission checks to read full record data via WHERE clause evaluation order flaws.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-63755?

CVE-2026-63755 is a high-severity missing authorization vulnerability in Surrealdb Surrealdb, published on 20 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-863

Which versions are affected by CVE-2026-63755?

2 open source packages ship an affected version, including surrealdb. It affects 1 product.

PackageAffectedFixed in
surrealdb crates.ioAll versions3.1.0
surrealdb crates.ioAll versions3.1.0

Products include Surrealdb Surrealdb.

How do I fix CVE-2026-63755?

Upgrade surrealdb to 3.1.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-63755 being exploited?

There is no known exploitation of CVE-2026-63755 in the wild and no public exploit code.

All Surrealdb Surrealdb vulnerabilities

Sources

Also known as GHSA-98fx-66cf-fc7c.

Is CVE-2026-63755 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free