Urgent
SurrealDB embedded JavaScript bypasses function permissions
CVE-2026-134292 and 15 more
A database server can be broken into, so data may be stolen, deleted, or the server may stop!
- CVE
- CVE-2026-134292 and 15 more
- Score
- CVSS 9.8 · CVE-2026-134292
- Public date
- 2026-11-03
- First seen
Mitigation
Update to SurrealDB 4.0.0 or later. No stopgap is named in the sources until then.
Summary
SurrealDB's embedded JavaScript engine skips permission checks, so users can run built-in functions they are denied. The same fixed release also corrects several other flaws, including FOR-variable permission bypass, table and field permission bypass, path traversal, SQL injection and memory exhaustion.
Exploit code is public
Affected when
- CVE-2026-134292 embedded JavaScript scripting in use
- CVE-2026-134294 running on Windows
- CVE-2026-134291 a symlink exists inside a bucket
- CVE-2026-134293 MCP server in use
- CVE-2026-134307 GET /export endpoint reachable
2 other Incidents of this product in the last 30 days
Incidents by product: SurrealDB
Other recent Incidents of SurrealDB
16 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 16 CVEs (every link below opens in a new tab)
- CVE-2026-134292Lets an attacker run built-in functions they are denied, through embedded JavaScript. CVSS 9.8 CVE-2026-134292 advisory · CVE-2026-134292 write-up
- CVE-2026-134309Lets an attacker use a FOR variable to fool permission checks and read, change, or delete data. CVSS 8.8 CVE-2026-134309 advisory · CVE-2026-134309 write-up
- CVE-2026-134295Lets an attacker leave the storage folder and read, write, or delete files outside it. CVSS 8.8 CVE-2026-134295 advisory · CVE-2026-134295 write-up
Show 13 more
- CVE-2026-134293Lets an attacker run arbitrary database statements through MCP tool input. CVSS 8.8 CVE-2026-134293 advisory · CVE-2026-134293 write-up
- CVE-2026-134299Lets an unauthenticated attacker open many connections and exhaust server memory. CVSS 8.7 CVE-2026-134299 advisory · CVE-2026-134299 write-up
- CVE-2026-134294On Windows, bypasses bucket path checks to read or change files in other buckets. CVSS 8.7 CVE-2026-134294 advisory · CVE-2026-134294 write-up
- CVE-2026-134291Uses symlinks to read or write host files outside the storage folder. CVSS 8.7 CVE-2026-134291 advisory · CVE-2026-134291 write-up
- CVE-2026-134300Deleting a referenced record can change or delete other records the attacker cannot access. CVSS 8.1 CVE-2026-134300 advisory · CVE-2026-134300 write-up
- CVE-2026-134307Lets a low-privilege user download records and hidden fields through /export. CVSS 7.1 CVE-2026-134307 advisory · CVE-2026-134307 write-up
- CVE-2026-134302A large decimal calculation can crash the whole server process. CVSS 7.1 CVE-2026-134302 advisory · CVE-2026-134302 write-up
- CVE-2026-134290A delete rejection error can reveal hidden referencing records and their IDs. CVSS 7.1 CVE-2026-134290 advisory · CVE-2026-134290 write-up
- CVE-2026-134288Lets a refused write persist when a THROW inside an interactive transaction is ignored. CVSS 7.1 CVE-2026-134288 advisory · CVE-2026-134288 write-up
- CVE-2026-134301An authenticated user can embed write subqueries in LIVE query conditions or field projections, running writes inside other users' transactions and extracting document data even after permissions are revoked. CVSS 5.4 CVE-2026-134301 advisory · CVE-2026-134301 write-up
- CVE-2026-134306An authenticated record user can read child field values that permissions deny, because shifted array elements keep values that SELECT should hide. CVSS 5.3 CVE-2026-134306 advisory · CVE-2026-134306 write-up
- CVE-2026-134298A read-only VIEWER user can change the database schema by running CREATE on a nonexistent table, adding arbitrary empty tables in non-STRICT databases and possibly colliding with application table names. CVSS 5.3 CVE-2026-134298 advisory · CVE-2026-134298 write-up
- CVE-2026-134289The values of the SURREAL_PASS and SURREAL_TOKEN environment variables are printed in clear text in the CLI's --help and -h output. Anyone who sees that output in shell logs, CI logs, or screen shares can obtain root database credentials. CVSS 4.1 CVE-2026-134289 advisory · CVE-2026-134289 write-up
- Repository: cveForge/CVE-2026-134292 (opens in a new tab)
- Repository: cveForge/CVE-2026-134291 (opens in a new tab)