CVE-2026-137490 SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge

Published Updated

CVSS score

High

8.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.0
Attack path
Over the network
Any signed-in user, no user action

What is CVE-2026-137490?

CVE-2026-137490 is a high-severity vulnerability in surrealdb, published on 26 Nov 2026.

Official description

SurrealDB before 4.0.0 contains an authorization bypass vulnerability that allows restricted subjects to execute arbitrary queries by calling the JavaScript surrealdb.query() bridge. Attackers permitted to run a specific script can bypass the Capabilities::allows_query() gate in the query module to execute unrestricted queries beyond their predefined operations.

Weakness: CWE-862

How severe is CVE-2026-137490?

CVE-2026-137490 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-137490?

1 open source package ship an affected version, including surrealdb.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
All versions4.0.0

How do I fix CVE-2026-137490?

Upgrade surrealdb to 4.0.0 or later.

Is CVE-2026-137490 being exploited?

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

Sources

Also known as GHSA-fq69-wr4w-v3gm, GHSA-qwm5-4hhw-6vmx.

Is CVE-2026-137490 in your software?

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

Check your SBOMs for free