Loading...
Skip to main content
crates.io (Rust)

surrealdb Known Vulnerabilities & Fixes

surrealdb has 29 known security vulnerabilities in crates.io (Rust). Upgrade to version 3.2.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

29 Vulnerabilities

Low Immediate Risk

No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.

Recommended safe version: 3.2.0

Upgrading to 3.2.0 or later resolves all 29 known vulnerabilities in surrealdb. Update Cargo.toml: surrealdb = "3.2.0"

Is surrealdb in your project?

Check if you're affected and upgrade to 3.2.0 to stay secure.

29
Total
1
Critical
14
High
14
Medium
0
Low

Security Summary

  • 51 affected version ranges have been identified across these 29 advisories.
  • 100% of known issues have a published fixed version.
  • Remediation: cargo update -p surrealdb

Vulnerabilities

29 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Dec 15, 2023, most recently Sep 4, 2026 (995 days apart).

CVE / GHSASeverityAffectedFixed In
CVE-2025-71392
SurrealDB server-takeover via SurrealQL injection on backup import
CRITICAL
All versions2.2.2, 2.1.5, 2.0.5
CVE-2024-58367
SurrealDB: Improper Authorization in Select Permissions
HIGH
All versions2.0.4
CVE-2024-58361
SurrealDB has an Uncaught Exception Handling Parsing Errors on Empty Strings
HIGH
All versions2.0.4
CVE-2024-58362
Untrusted Query Object Evaluation in RPC API
HIGH
All versions1.5.5, 2.0.0-beta.3
CVE-2026-63735
SurrealDB: Custom API route lets authenticated callers override namespace/database scope via URL path
HIGH
All versions3.2.0
CVE-2023-54366
SurrealDB: Full Table Permissions by Default
HIGH
All versions1.0.1
CVE-2026-63763
SurrealDB Affected by Confused Deputy Privilege Escalation through Future Fields and Functions
HIGH
All versions2.5.0, 3.0.0-beta.3
CVE-2024-58366
Externally Controlled Format String in Scripting Functions
HIGH
All versions1.1.1
CVE-2026-63760
SurrealDB has Denial of Service in JSON parser due to nested objects
HIGH
All versions3.1.0
CVE-2024-58368
Uncaught Exception processing HTTP Headers in SurrealDB
HIGH
All versions1.1.0
CVE-2025-71397
SurrealDB CPU exhaustion via custom functions result in total DoS
HIGH
All versions2.2.2, 2.1.5, 2.0.5
CVE-2025-71395
SurrealDB memory exhaustion via string::replace using regex
HIGH
All versions2.2.2, 2.1.5, 2.0.5
CVE-2025-71391
SurrealDB has uncaught exception in Net module that leads to database crash
HIGH
All versions2.2.2, 2.1.5, 2.0.5
GHSA-5qfp-32cf-69jh
SurrealDB: HTTP /rpc `sessions` method leaks attached session UUIDs, enabling full session hijack by anonymous callers
HIGH
All versions3.1.0
GHSA-4vgr-h27g-cf9p
SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
HIGH
All versions3.1.0
CVE-2024-58365
Uncaught Exception in Macro Expecting Native Function to Exist
MEDIUM
All versions1.2.0
CVE-2024-58364
Uncaught Exception Handling Parsing Errors on Line Terminators
MEDIUM
All versions1.2.1
CVE-2026-63762
SurrealDB vulnerable to Denial of Service through scripting function memory edge case
MEDIUM
All versions2.6.1, 3.0.0-beta.3
CVE-2024-58359
SurrealDB has an Uncaught Exception Sorting Tables by Random Order
MEDIUM
All versions2.1.0
CVE-2024-58357
SurrealDB has an Uncaught Exception in Function Generating Random Time
MEDIUM
All versions2.1.0
CVE-2025-71393
SurrealDB vulnerable to memory exhaustion via nested functions and scripts
MEDIUM
All versions2.2.2, 2.1.5, 2.0.5
CVE-2025-11060
SurrealDB is Vulnerable to Unauthorized Data Exposure via LIVE Query Subscriptions
MEDIUM
All versions2.3.8, 2.2.8, 2.1.9 (+1 more)
CVE-2024-58363
SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
MEDIUM
All versions1.5.4, 2.0.0-alpha.6
CVE-2025-71390
SurrealDB allows bypass of deny-net flags via DNS resolution
MEDIUM
All versions2.1.8, 2.2.6, 3.0.0-alpha.7 (+1 more)
CVE-2025-71398
SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
MEDIUM
All versions2.2.2, 2.1.5, 2.0.5
CVE-2026-63740
SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users
MEDIUM
All versions3.1.4
CVE-2026-63746
SurrealDB: Graph traversal bypasses table SELECT permissions
MEDIUM
All versions3.1.0
CVE-2026-63755
SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level
MEDIUM
All versions3.1.0
CVE-2026-63743
SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect
MEDIUM
All versions3.1.0

About This Data

Vulnerability data for surrealdb is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related crates.io (Rust) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of surrealdb.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed