← News

SurrealDB: bypass authorization to run queries

HighAI-generated2026-11-28

CVE
CVE-2026-137490
Severity
High (CVSS 8.8)
Attack conditions
Remotely, over the network · A regular user account is needed · No user action needed
Exploitation probability (EPSS)
0.5% (within 30 days; FIRST EPSS, 30 November 2026)

Summary

SurrealDB versions before 4.0.0 contain an authorization bypass that lets restricted users execute arbitrary queries.

Details

According to the NVD record, SurrealDB prior to version 4.0.0 has a flaw that allows an authorization bypass when the JavaScript surrealdb.query() bridge is used. The vulnerability lets subjects with limited permissions run a specific script to get around the Capabilities::allows_query() check.

An attacker who can trigger the vulnerable script can issue unrestricted queries, potentially reading, modifying, or deleting data that should be protected.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 26 November 2026 NVD record published
  • 28 November 2026 This article was written