surrealdb
crates.io16 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting surrealdbpage 1 of 1
- CVE-2023-54366HIGHCVSS 8.8EG 8.8✓ Fixed in 1.0.12026-07-18
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 public…
- CVE-2024-58361MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.0.42026-07-18
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…
- CVE-2024-58362HIGHCVSS 8.8EG 8.8✓ Fixed in 1.5.52026-07-18
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 SIG…
- CVE-2024-58363MEDIUMCVSS 6.3EG 6.3✓ Fixed in 1.5.42026-07-18
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 …
- CVE-2024-58366HIGHCVSS 8.5EG 8.5✓ Fixed in 1.1.12026-07-18
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 arbitrar…
- CVE-2024-58367HIGHCVSS 7.1EG 7.1✓ Fixed in 2.0.42026-07-18
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 …
- CVE-2024-58368HIGHCVSS 7.5EG 7.5✓ Fixed in 1.1.02026-07-18
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 …
- CVE-2024-58369MEDIUMCVSS 6.5EG 6.5✓ Fixed in 1.1.12026-07-18
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 Surr…
- CVE-2025-71391HIGHCVSS 7.1EG 7.1✓ Fixed in 2.2.22026-07-18
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, causin…
- CVE-2025-71392CRITICALCVSS 9.4EG 9.4✓ Fixed in 2.2.22026-07-18
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 …
- CVE-2025-71393MEDIUMCVSS 6.0EG 6.0✓ Fixed in 2.2.22026-07-18
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 a…
- CVE-2025-71395HIGHCVSS 7.1EG 7.1✓ Fixed in 2.2.22026-07-18
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 ex…
- CVE-2025-71397HIGHCVSS 7.1EG 7.1✓ Fixed in 2.2.22026-07-18
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…
- CVE-2025-71398MEDIUMCVSS 5.8EG 5.8✓ Fixed in 2.2.22026-07-18
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 net…
- CVE-2026-63762MEDIUMCVSS 6.0EG 6.0✓ Fixed in 2.6.12026-07-20
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 execut…
- CVE-2026-63763HIGHCVSS 7.5EG 7.5✓ Fixed in 2.5.02026-07-20
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 clos…
Check whether surrealdb is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for surrealdb CVEs against the assets you own.
Start Free Scan →