Home › CVE › JavaScript
CVE-2026-137490 — surrealdb
One of 3 surrealdb vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
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.
Severity breakdown
High · 8.7
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-862: Missing Authorization
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| surrealdb | < 4.0.0 | 4.0.0 |
References by type
Vendor advisories
Other references
Affected
- surrealdb
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-137490?
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::allowsquery() gate in the query module to execute unrestricted queries beyond their predefined operations. Weakness type: Missing Authorization (CWE-862).
How severe is CVE-2026-137490?
CVE-2026-137490 has a CVSS 4.0 base score of 8.7 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-137490 being exploited?
Not as far as is known: CVE-2026-137490 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.
Which versions are affected by CVE-2026-137490?
surrealdb < 4.0.0 (fixed in 4.0.0).
How do I fix CVE-2026-137490?
Update to a fixed release: surrealdb 4.0.0.