CVE-2026-137490
8.8HighPublished Nov 26, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-862
What an attacker gets
Authenticated attackers can execute arbitrary database queries by bypassing authorization checks. This requires an account with permission to run JavaScript scripts.
Root cause
The JavaScript surrealdb.query() bridge fails to enforce the Capabilities::allows_query() authorization gate.
Affected versions
SurrealDB before 4.0.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to SurrealDB 4.0.0 or later. If you cannot upgrade, disable the JavaScript execution functionality in your configuration.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1374157.3HighRemote attackers can cause memory corruption or crashes by triggering an integer overflow in the JSON writer. This requires no authentication and can be exploited by sending a crafted JSON string to an application using the library.
- CVE-2026-1374147.3HighRemote attackers can execute arbitrary SQL queries to steal or modify data. No authentication is required to exploit this vulnerability.
- CVE-2026-1374127.3HighRemote attackers can execute arbitrary SQL queries to steal or modify database data. No authentication is required to exploit this vulnerability.
- CVE-2026-1374117.3HighRemote unauthenticated attackers can execute arbitrary SQL queries against your database. This allows them to read, modify, or delete sensitive application data.
- CVE-2026-1374097.3HighRemote attackers can execute arbitrary OS commands by injecting malicious input into the webcam configuration. This requires no authentication or user interaction.
- CVE-2026-1352807.4HighRemote attackers can bypass authentication and access control middleware by crafting specific Unicode or case-sensitive paths. This only affects applications that have explicitly enabled case-insensitive routing.