Patch Ticker
EnglishEN
Elevated

SurrealDB script query bridge bypass lets restricted users run arbitrary queries

CVE-2026-137490 and 2 more

In this database program, limited users can reach data they should not touch.

CVE
CVE-2026-137490 and 2 more
Score
CVSS 8.8 · CVE-2026-137490
Public date
2026-11-03
First seen
8.8
Products
Disclosed together SurrealDB

Mitigation

Update SurrealDB to 4.0.0 or later. All versions before 4.0.0 are affected.

Summary

In SurrealDB before 4.0.0, the JavaScript query bridge skips the permission check, so a restricted user allowed to run a script can run queries beyond their permissions. The same release also fixes a session token leak in the remote HTTP client router and an information leak through error messages.

Exploit code is public

Affected when

  • CVE-2026-137490 restricted user allowed to run a JavaScript script
  • CVE-2026-137489 authenticated user can call the ML model export command
  • CVE-2026-137488 CREATE and UPDATE permission on an edge table

2 other Incidents of this product in the last 30 days

Incidents by product: SurrealDB

Other recent Incidents of SurrealDB

3 CVEs (every link below opens in a new tab)

Read the advisory · github.com (opens in a new tab)

Each of the 3 CVEs (every link below opens in a new tab)