CVE-2026-63740 SurrealDB before 3.1.4 Array Element Permission Bypass

High 7.1 Published Updated

Attackers with record scope access can bypass element-level permissions to read denied array elements in SurrealDB.

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-63740?

CVE-2026-63740 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 versions before 3.1.4 fail to properly enforce SELECT permissions on array elements (field.*) for record users, leaking denied array elements instead of hiding them. Attackers with record scope access can read array elements that element-level permissions should deny by exploiting incorrect index handling during permission filtering.

Weakness: CWE-863

Which versions are affected by CVE-2026-63740?

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

PackageAffectedFixed in
surrealdb crates.ioAll versions3.1.4
surrealdb crates.ioAll versions3.1.4

Products include Surrealdb Surrealdb.

How do I fix CVE-2026-63740?

Upgrade surrealdb to 3.1.4 or later.

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

Is CVE-2026-63740 being exploited?

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

All Surrealdb Surrealdb vulnerabilities

Sources

Also known as GHSA-8rw6-p7m8-63jp.

Is CVE-2026-63740 in your software?

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

Check your SBOMs for free