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.
- CVSS
- 8.8High
- Chance of exploitation (EPSS)
- 0.57%
- Published
- Nov 26, 2026
- In the news
- Not yet
What to do
A serious missing access check in Surrealdb that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 4.0.0
Affected versions
- Surrealdb
- Before 4.0.0
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-137490 published (CVSS 8.8) (Nov 26, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Nov 26, 2026
- CVECVE-2026-137490 published (CVSS 8.8)CVE Program · 16:01 UTC
References 2
- github.com Vendor Advisory /surrealdb/surrealdb/security/advisories/GHSA-fq69-wr4w-v3gm
- www.vulncheck.com /advisories/surrealdb-before-4.0.0-authorization-bypass-via-javascript-surrealdb-query-bridge