VYPR

Surrealdb

by Surrealdb

cargo: surrealdb

Source repositories

CVEs (96)

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

    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-71395MedJul 18, 2026
    risk 0.35cvss 6.5epss 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-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.01

    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 and 2.0.0-alpha.1 before 2.0.0-alpha.6 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…

  • 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-134301MedNov 21, 2026
    risk 0.28cvss 5.4epss —

    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…

  • CVE-2026-109342MedOct 12, 2026
    risk 0.28cvss 5.4epss 0.00

    SurrealDB from 3.0.0 before 3.3.0 contains a missing authentication vulnerability in the revoke RPC method that allows low-privileged or unauthenticated callers to invalidate other users' refresh tokens without proof of possession. Attackers can obtain grant identifiers via…

  • CVE-2026-109340MedOct 12, 2026
    risk 0.28cvss 5.4epss 0.00

    SurrealDB from 3.1.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to delete protected graph edges by triggering a REFERENCE ON DELETE CASCADE. Attackers with delete permission on a referenced table can delete a record whose cascade…

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