VYPR

Surrealdb

by Surrealdb

cargo: surrealdb

Source repositories

CVEs (58)

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

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

    SurrealDB before 2.1.4 silently fails to overwrite table definitions when the DEFINE TABLE ... OVERWRITE clause is used on tables defined with TYPE RELATION. Because table definitions include the PERMISSIONS clause, an attempt to tighten a table's permissions via OVERWRITE does…

  • CVE-2025-11060MedSep 26, 2025
    risk 0.30cvss 5.7epss 0.00

    A flaw was found in the live query subscription mechanism of the database engine. This vulnerability allows record or guest users to observe unauthorized records within the same table, bypassing access controls, via crafted LIVE SELECT subscriptions when other users alter or…

  • CVE-2026-63758MedJul 20, 2026
    risk 0.28cvss 5.4epss 0.00

    SurrealDB versions before 3.1.0 contain an authorization bypass vulnerability in the KILL statement that allows authenticated database users to terminate other users' LIVE SELECT subscriptions. Attackers can issue KILL statements with target live query UUIDs to disrupt real-time…

  • CVE-2026-49997MedJul 15, 2026
    risk 0.28cvss 5.4epss 0.00

    SurrealDB is a scalable, distributed, collaborative, document-graph database for the realtime web. Prior to 3.1.0, Document::purge_edges in surrealdb/core/src/doc/delete.rs automatically removed graph edge records with permissions disabled through opt.clone().with_perms(false)…

  • CVE-2024-58358MedJul 18, 2026
    risk 0.25cvss 4.9epss 0.00

    SurrealDB versions before 2.1.0 contain a denial of service vulnerability in role conversion that allows privileged owner users to define users with nonexistent roles. Attackers can trigger an uncaught panic by signing in with a user assigned an invalid role, crashing the server.

  • CVE-2026-63761MedJul 20, 2026
    risk 0.21cvss 4.3epss 0.00

    SurrealDB before 3.1.0 silently substitutes the ES384 algorithm when a JWT access method is configured with ALGORITHM ES512 (DEFINE ACCESS ... TYPE JWT ALGORITHM ES512), because the underlying jsonwebtoken crate (v10.x) has no ES512 variant and the mapping defaults to ES384…

  • CVE-2026-63751MedJul 20, 2026
    risk 0.21cvss 4.3epss 0.00

    SurrealDB versions before 3.1.0 contain a field-level permission bypass vulnerability in JSON Patch operations that allows authenticated users to read protected fields. Attackers can use UPDATE PATCH with an empty from pointer in copy or move operations to duplicate all record…

  • CVE-2026-63748MedJul 20, 2026
    risk 0.21cvss 4.3epss 0.00

    SurrealDB versions before 3.1.0 contain an information disclosure vulnerability where authenticated users with UPDATE access can read field values hidden by field-level SELECT permissions through error messages. Attackers can trigger arithmetic or extend operations on hidden…

  • CVE-2026-63738MedJul 20, 2026
    risk 0.21cvss 4.3epss 0.00

    SurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-level permissions by materializing…

  • CVE-2026-63733MedJul 20, 2026
    risk 0.21cvss 4.3epss 0.00

    SurrealDB versions before 3.2.0 contain a permissions bypass vulnerability where data-modifying statements within PERMISSIONS clauses execute with enforcement disabled. Attackers with permission to perform a guarded operation can write to tables they lack permission for by…

  • CVE-2025-71394MedJul 18, 2026
    risk 0.21cvss 4.3epss 0.00

    SurrealDB versions before 2.2.2 contain a local file read vulnerability in the DEFINE ANALYZER statement that allows authenticated users to read arbitrary files on the file system. Attackers with root, namespace, or database level privileges can point analyzers to arbitrary file…

  • CVE-2026-63763HigJul 20, 2026
    risk 0.00cvss 8.8epss 0.01

    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…

  • CVE-2026-63762MedJul 20, 2026
    risk 0.00cvss 6.5epss 0.00

    SurrealDB before v2.6.1 (and before v3.0.0-beta.3) contains a denial of service vulnerability in its embedded JavaScript scripting engine, which is enabled via the --allow-scripting capability (disabled by default). Any user able to execute arbitrary queries — including…