<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>surrealdb vulnerabilities — Vulnerability Watch</title>
  <subtitle>New surrealdb vulnerabilities, exploits and security advisories.</subtitle>
  <link href="https://watcher.digitalizingworld.com/vendor/surrealdb.xml" rel="self"/>
  <link href="https://watcher.digitalizingworld.com/vendor/surrealdb.html"/>
  <id>https://watcher.digitalizingworld.com/vendor/surrealdb.xml</id>
  <updated>2026-11-26T16:17:59+00:00</updated>
  <entry>
    <title>CVE-2026-137490 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-137490.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-137490.html</id>
    <updated>2026-11-26T16:17:59+00:00</updated>
    <summary>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.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-137489 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-137489.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-137489.html</id>
    <updated>2026-11-26T16:17:59+00:00</updated>
    <summary>SurrealDB before 4.0.0 contains a server-side request forgery vulnerability in the remote HTTP client router that passes raw model names to Url::join during ML export. Attackers can supply an absolute URL as the model name in ExportMl or ExportBytesMl commands to redirect authenticated requests and capture session tokens.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-137488 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-137488.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-137488.html</id>
    <updated>2026-11-26T16:17:58+00:00</updated>
    <summary>SurrealDB before 4.0.0 contains an information disclosure vulnerability that allows authenticated users to read SELECT-hidden edge endpoints through InOverride/OutOverride error messages. Attackers with CREATE and UPDATE permission on an edge table can re-RELATE an existing edge with mismatched endpoints to recover stored in/out record ids despite row- or field-level restrictions.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134310 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134310.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134310.html</id>
    <updated>2026-11-21T17:16:51+00:00</updated>
    <summary>SurrealDB from 3.2.0 before 3.3.4 contains an authorization bypass vulnerability that allows record users to update protected rows by exploiting table-level PERMISSIONS FOR update predicates referencing COMPUTED fields. Because checkupdatepermissions evaluates the predicate before computed fields are populated, the field reads as NONE and deny-intended predicates like blocked != true pass, lettin…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134303 — surrealdb surrealkv</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134303.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134303.html</id>
    <updated>2026-11-21T17:16:50+00:00</updated>
    <summary>SurrealKV before 1.1.0 contains an out-of-bounds read vulnerability in the safe InternalKeyRef::fromencoded constructor, which only checks key length with a debug-only assertion. Callers passing keys shorter than 16 bytes, or crafted or corrupted SSTable blocks, trigger unchecked length underflow in timestamp(), seqnum() and trailer(), reading heap bytes before the allocation or panicking.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134307 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134307.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134307.html</id>
    <updated>2026-11-21T17:16:50+00:00</updated>
    <summary>SurrealDB 3.0.0 before 4.0.0 contains a permission bypass vulnerability that allows authenticated low-privilege database users to read restricted records by calling the GET /export endpoint. Attackers can export raw records that skip table SELECT predicates and field-level SELECT permissions, exposing other users&#39; rows and hidden fields.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134302 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134302.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134302.html</id>
    <updated>2026-11-21T17:16:50+00:00</updated>
    <summary>SurrealDB 1.0.0 before 4.0.0 contains a denial of service vulnerability that allows any user able to run queries to crash the server by triggering unchecked decimal overflow in math::sum or math::product. Attackers can submit a query summing or multiplying large decimal literals or aggregate stored decimals with GROUP ALL, causing a rustdecimal panic that terminates the entire server process.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134301 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134301.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134301.html</id>
    <updated>2026-11-21T17:16:50+00:00</updated>
    <summary>SurrealDB before 4.0.0 contains a guard bypass vulnerability that allows authenticated users to execute write subqueries by embedding them in LIVE query WHERE clauses or field projections. Attackers can inject CREATE, UPDATE, DELETE, or RELATE statements that run atomically inside other users&#39; triggering transactions, amplifying writes and exfiltrating document data after permission revocation.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134306 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134306.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134306.html</id>
    <updated>2026-11-21T17:16:50+00:00</updated>
    <summary>SurrealDB before 4.0.0 contains an incorrect authorization vulnerability in filterfieldsbypermission that allows authenticated record users to read denied child field values. Attackers can query rows where overlapping items[] and items[].secret permissions compact arrays, causing shifted elements to retain field values denied by SELECT permissions.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134309 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134309.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134309.html</id>
    <updated>2026-11-21T17:16:50+00:00</updated>
    <summary>SurrealDB 1.0.0 before 4.0.0 contains an authorization bypass vulnerability that allows authenticated users to shadow protected $access, $auth, and $token variables by binding them as FOR loop variables. Attackers can wrap queries in nested FOR loops with forged values to satisfy table permission predicates, enabling unauthorized reads, modifications, or deletions as a VIEWER.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134298 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134298.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134298.html</id>
    <updated>2026-11-21T17:16:49+00:00</updated>
    <summary>SurrealDB 3.0.0 before 4.0.0 contains an authorization bypass that allows users with the read-only VIEWER role to modify database schema, because CREATE on a nonexistent table implicitly defines it without the DEFINE TABLE permission check applied to explicit definitions. Authenticated VIEWER users can issue CREATE statements in non-STRICT databases to add arbitrary empty SCHEMALESS tables, clutt…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134294 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134294.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134294.html</id>
    <updated>2026-11-21T17:16:49+00:00</updated>
    <summary>SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in its bucket storage layer on Windows, where ObjectKey::checknotraversal splits object keys only on forward slashes while FileStore::toospath treats backslashes as directory separators. Attackers can supply object keys such as /..\bucket2\secret to bypass the traversal check and read or modify files in other buckets.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134293 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134293.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134293.html</id>
    <updated>2026-11-21T17:16:49+00:00</updated>
    <summary>SurrealDB 3.1.0 before 4.0.0 contains an SQL injection vulnerability in its Model Context Protocol (MCP) server because the identifier validator (consumebacktickident and validateidentifier) treats the first backtick as the closing delimiter, ignoring escape characters that the SurrealQL parser honors. Attackers can supply MCP tool arguments containing an escaped backtick to break out of the quot…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134295 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134295.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134295.html</id>
    <updated>2026-11-21T17:16:49+00:00</updated>
    <summary>SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in direct filesystem buckets because BucketController::checkpermission evaluates key-based ACLs against the un-normalized object key, while FileStore::toospath collapses &#39;..&#39; sequences without a traversal check. An authenticated tenant permitted only for certain keys can supply a key such as /public/../private/confidential.txt t…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134299 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134299.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134299.html</id>
    <updated>2026-11-21T17:16:49+00:00</updated>
    <summary>SurrealDB 3.0.4 before 4.0.0 does not apply operator-configured WebSocket frame, message, and buffer size limits to the GraphQL WebSocket upgrade handler at GET /graphql, falling back to permissive library defaults. Unauthenticated remote attackers who supply the target namespace and database in request headers can hold up to 64 MiB of in-flight data per concurrent connection, exhausting server m…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134300 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134300.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134300.html</id>
    <updated>2026-11-21T17:16:49+00:00</updated>
    <summary>SurrealDB from 2.2.0 before 4.0.0 contains an authorization bypass vulnerability in Document::purgereferences that lets authenticated users bypass target table PERMISSIONS by triggering REFERENCE ON DELETE cascades. Attackers can delete a referenced record to delete, unset, or run CUSTOM expressions on referencing records despite PERMISSIONS FOR delete or update NONE.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134292 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134292.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134292.html</id>
    <updated>2026-11-21T17:16:48+00:00</updated>
    <summary>SurrealDB 1.0.0 before 4.0.0 contains a capability check bypass in its embedded JavaScript scripting engine, where the surrealdb.functions bridge calls the internal fnc::synchronous() and fnc::asynchronous() dispatchers without enforcing function capability checks. Authenticated users denied access to built-in functions in SurrealQL can execute them by calling them through surrealdb.functions fro…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134289 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134289.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134289.html</id>
    <updated>2026-11-21T17:16:48+00:00</updated>
    <summary>SurrealDB 1.0.0 before 4.0.0 prints SURREALPASS and SURREALTOKEN environment variable values in clear text in the --help and -h output of CLI commands such as surreal start, sql, import, export, and mcp, because the arguments do not set clap&#39;s hideenvvalues. Anyone who later sees that terminal output, for example in shell logs, CI logs, or screen shares, can obtain root database credentials.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134290 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134290.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134290.html</id>
    <updated>2026-11-21T17:16:48+00:00</updated>
    <summary>SurrealDB 2.2.0 before 4.0.0 includes the record id of a referencing row in the error returned when a delete is blocked by an ON DELETE REJECT reference, without checking the caller&#39;s SELECT permission on that row. An authenticated principal with DELETE permission can attempt to delete a referenced record and read the rejection error to learn the existence and exact ids of referencing records hid…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134291 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134291.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134291.html</id>
    <updated>2026-11-21T17:16:48+00:00</updated>
    <summary>SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in its filesystem storage bucket that only canonicalizes the bucket root, not descendant symlinks. Attackers can reference paths through a pre-existing symlink inside the bucket that pass the lexical prefix check, reading and writing files across the host filesystem.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-134288 — surrealdb</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-134288.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-134288.html</id>
    <updated>2026-11-21T17:16:48+00:00</updated>
    <summary>SurrealDB 3.0.0 before 4.0.0 contains an authorization bypass vulnerability that allows clients with table write access to persist writes refused by THROWing table events within interactive transactions. Attackers can run a guarded statement via RPC begin and query, ignore the returned error, and commit to persist the record and event side effects.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-63763 — surrealdb</title>
    <link href="https://nvd.nist.gov/vuln/detail/CVE-2026-63763"/>
    <id>https://watcher.digitalizingworld.com/nvd:CVE-2026-63763</id>
    <updated>2026-07-20T12:19:46+00:00</updated>
    <summary>SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy privilege escalation vulnerability. Unprivileged users (e.g., those with the database editor role) can create or modify fields containing futures, functions, or closures. Because these are executed in the context of the invoking/querying user rather than their creator, an attacker can plant malicious logic that executes wit…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-63750 — surrealdb</title>
    <link href="https://nvd.nist.gov/vuln/detail/CVE-2026-63750"/>
    <id>https://watcher.digitalizingworld.com/nvd:CVE-2026-63750</id>
    <updated>2026-07-20T12:19:44+00:00</updated>
    <summary>SurrealDB versions before 3.1.0 fail to apply the SURREALWEBSOCKETMAXMESSAGESIZE limit to anonymous /sql WebSocket connections, allowing attackers to buffer unbounded frames in the per-connection read buffer. Attackers can stream WebSocket frames larger than the configured limit across multiple concurrent connections to consume excessive memory and degrade /sql availability.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2025-71398 — surrealdb</title>
    <link href="https://nvd.nist.gov/vuln/detail/CVE-2025-71398"/>
    <id>https://watcher.digitalizingworld.com/nvd:CVE-2025-71398</id>
    <updated>2026-07-18T14:17:11+00:00</updated>
    <summary>SurrealDB before 2.2.2 fails to validate HTTP redirects in http functions, allowing authenticated users to bypass deny-net restrictions by redirecting to blocked IP addresses. Attackers can host a public server that redirects to denied network targets, enabling server-side request forgery to access internal endpoints and retrieve sensitive information.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2025-71390 — surrealdb</title>
    <link href="https://nvd.nist.gov/vuln/detail/CVE-2025-71390"/>
    <id>https://watcher.digitalizingworld.com/nvd:CVE-2025-71390</id>
    <updated>2026-07-18T14:17:10+00:00</updated>
    <summary>SurrealDB before 2.2.6, 2.3.6, and 2.1.8 (and 3.0.0-alpha.7 and earlier) fails to validate DNS-resolved hostnames against --deny-net network access restrictions in its http:: functions. An authenticated user can invoke http:: ( ) with a hostname that resolves to a denied IP address, causing the server to issue the request anyway and return the response. This bypasses network access controls, allo…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2025-71392 — surrealdb</title>
    <link href="https://nvd.nist.gov/vuln/detail/CVE-2025-71392"/>
    <id>https://watcher.digitalizingworld.com/nvd:CVE-2025-71392</id>
    <updated>2026-07-18T14:17:10+00:00</updated>
    <summary>SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 fails to properly escape table and field names in the command-line export command. An authenticated System User with OWNER or EDITOR roles can create tables or fields with malicious names containing SurrealQL. When a higher-privileged user subsequently imports the exported backup, the injected SurrealQL executes, enabling privileg…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2024-58366 — surrealdb</title>
    <link href="https://nvd.nist.gov/vuln/detail/CVE-2024-58366"/>
    <id>https://watcher.digitalizingworld.com/nvd:CVE-2024-58366</id>
    <updated>2026-07-18T14:17:09+00:00</updated>
    <summary>SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throwtype function when scripting is enabled. Attackers with scripting privileges can supply format string sequences in error inputs to read arbitrary memory or execute code with SurrealDB process privileges.</summary>
    <author><name>NVD</name></author>
  </entry>
</feed>