VYPR

Surrealdb

by Surrealdb

cargo: surrealdb

Source repositories

CVEs (58)

  • CVE-2025-71390HigJul 18, 2026
    risk 0.50cvss 8.8epss 0.00

    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…

  • CVE-2024-58362HigJul 18, 2026
    risk 0.50cvss 8.8epss 0.00

    SurrealDB before 1.5.5 (and 2.0.0-beta before 2.0.0-beta.3) accepts an arbitrary object in the signin and signup operations of the RPC API without recursively validating it for non-computed values. When a record access method defines a SIGNIN or SIGNUP query and the RPC API is…

  • CVE-2023-54366HigJul 18, 2026
    risk 0.50cvss 8.8epss 0.00

    SurrealDB before 1.0.1 sets default table permissions to FULL instead of NONE, allowing SELECT, CREATE, UPDATE, and DELETE operations on tables without explicit permissions. Attackers with database access or unauthenticated users on publicly exposed instances can perform…

  • CVE-2024-58366HigJul 18, 2026
    risk 0.48cvss 8.5epss 0.00

    SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type 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…

  • CVE-2025-71392HigJul 18, 2026
    risk 0.45cvss 8.0epss 0.00

    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.…

  • CVE-2024-58368HigJul 18, 2026
    risk 0.42cvss 7.5epss 0.00

    SurrealDB versions before 1.1.0 fail to properly parse the ID, DB, and NS headers in HTTP REST API requests containing special characters. Unauthenticated attackers can send crafted HTTP requests with malformed header values to trigger an uncaught exception that crashes the…

  • CVE-2025-71395HigJul 18, 2026
    risk 0.39cvss epss 0.00

    SurrealDB versions before 2.2.2 contain a memory exhaustion vulnerability in the string::replace function that fails to restrict resulting string length when using regex patterns. An authenticated attacker can craft a malicious query to exhaust server memory through unbounded…

  • CVE-2025-71397MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 allows authenticated users with OWNER or EDITOR permissions (at the root, namespace, or database level) to define custom database functions via DEFINE FUNCTION using nested FOR loops. Although a single loop's…

  • CVE-2025-71396MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 does not enforce a default execution-time limit on embedded JavaScript scripting functions when the scripting capability is explicitly enabled (via --allow-scripting or --allow-all). An authenticated attacker can…

  • CVE-2025-71393MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB before 2.2.2 with scripting enabled fails to properly enforce recursion limits when native functions contain embedded JavaScript that issues new queries. Authenticated attackers can bypass the recursion limit by chaining native and JavaScript function calls to trigger…

  • CVE-2025-71391MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. Attackers can send crafted HTTP queries containing null bytes to the /sql endpoint, causing an unhandled exception that crashes…

  • CVE-2024-58370MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 1.1.0 fail to enforce recursion depth limits when parsing nested SurrealQL statements including IF, RELATE, and attribute access idioms. Authorized attackers can submit queries with excessive nesting depth to cause stack overflow and crash the server.

  • CVE-2024-58369MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 1.1.1 fail to properly validate invocation of custom parameters and functions at root or namespace levels, causing server panic. Authorized clients can invoke these entities at unsupported levels to crash the SurrealDB server, resulting in denial of…

  • CVE-2024-58367MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 2.0.4 fail to properly enforce field permissions during SELECT, UPDATE, and DELETE operations, allowing authorized users to access unauthorized field values through various query techniques. Attackers can exploit SELECT VALUE operations, field aliasing,…

  • CVE-2024-58365MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 1.2.0 contain an uncaught exception vulnerability in the query executor when processing calls to nonexistent built-in functions. Authorized clients can craft pre-parsed queries invoking nonexistent functions to trigger a panic that crashes the server.

  • CVE-2024-58364MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 1.2.1 contain an uncaught exception handling vulnerability in span rendering when parsing queries with errors on line terminator characters. Authorized clients can submit malformed queries that trigger a panic in the span rendering code, crashing the…

  • CVE-2024-58361MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 2.0.4 contain an uncaught exception handling vulnerability in the parser error rendering code when processing empty strings. Authorized clients can execute malformed queries with empty string conversions to record, duration, or datetime types that cause…

  • CVE-2024-58359MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 2.1.0 contain a denial of service vulnerability in the sorting mechanism when using ORDER BY rand() clause. Authorized clients can execute queries with ORDER BY rand() to trigger a panic in the sorting function, crashing the server.

  • CVE-2024-58357MedJul 18, 2026
    risk 0.35cvss 6.5epss 0.00

    SurrealDB versions before 2.1.0 contain an uncaught exception vulnerability in the rand::time() function that panics when unwrap is called on a None result from timestamp_opt. Authorized clients can repeatedly invoke rand::time() to reliably trigger server panics and cause…

  • CVE-2024-58363MedJul 18, 2026
    risk 0.34cvss 6.3epss 0.00

    SurrealDB before 1.5.4 fails to properly validate authentication when a scope user switches databases using the USE clause or use method. Attackers with an authenticated session can impersonate an unrelated user in a different database if a user record with an identical…

Page 1 of 3