surrealdb Known Vulnerabilities & Fixes
surrealdb has 36 known security vulnerabilities in crates.io (Rust). Upgrade to version 3.3.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 3.3.0
Upgrading to 3.3.0 or later resolves all 36 known vulnerabilities in surrealdb. Update Cargo.toml: surrealdb = "3.3.0"
Is surrealdb in your project?
Check if you're affected and upgrade to 3.3.0 to stay secure.
Security Summary
- 58 affected version ranges have been identified across these 36 advisories.
- 100% of known issues have a published fixed version.
- Highest exploit-probability (EPSS) score for surrealdb: 0.7%.
- Remediation: cargo update -p surrealdb
Vulnerabilities
36 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Dec 15, 2023, most recently Oct 19, 2026 (1039 days apart).
| CVE / GHSA | Severity |
|---|---|
| CVE-2024-58368 Uncaught Exception processing HTTP Headers in SurrealDB
| HIGH |
| CVE-2024-58362 Untrusted Query Object Evaluation in RPC API
| HIGH |
| CVE-2025-11060 SurrealDB is Vulnerable to Unauthorized Data Exposure via LIVE Query Subscriptions
| MEDIUM |
| CVE-2024-58366 Externally Controlled Format String in Scripting Functions
| HIGH |
| CVE-2025-71391 SurrealDB has uncaught exception in Net module that leads to database crash
| HIGH |
| CVE-2025-71397 SurrealDB CPU exhaustion via custom functions result in total DoS
| HIGH |
| CVE-2026-63757 SurrealDB: HTTP /rpc `sessions` method leaks attached session UUIDs, enabling full session hijack by anonymous callers
| HIGH |
| CVE-2026-63747 SurrealDB has unauthenticated remote DoS via malformed RPC `use` call
| HIGH |
| CVE-2026-63760 SurrealDB has Denial of Service in JSON parser due to nested objects
| HIGH |
| CVE-2026-63763 SurrealDB Affected by Confused Deputy Privilege Escalation through Future Fields and Functions
| HIGH |
| CVE-2026-63737 SurrealDB: Denial of Service via deep operator chains
| MEDIUM |
| CVE-2026-63739 SurrealDB: Arbitrary file read via DEFINE ANALYZER mapper() filter
| HIGH |
| CVE-2023-54366 SurrealDB: Full Table Permissions by Default
| HIGH |
| CVE-2025-71393 SurrealDB vulnerable to memory exhaustion via nested functions and scripts
| MEDIUM |
| CVE-2025-71390 SurrealDB allows bypass of deny-net flags via DNS resolution
| MEDIUM |
| CVE-2024-58361 SurrealDB has an Uncaught Exception Handling Parsing Errors on Empty Strings
| HIGH |
| CVE-2025-71395 SurrealDB memory exhaustion via string::replace using regex
| HIGH |
| CVE-2024-58365 Uncaught Exception in Macro Expecting Native Function to Exist
| MEDIUM |
| CVE-2024-58364 Uncaught Exception Handling Parsing Errors on Line Terminators
| MEDIUM |
| CVE-2024-58359 SurrealDB has an Uncaught Exception Sorting Tables by Random Order
| MEDIUM |
| CVE-2024-58357 SurrealDB has an Uncaught Exception in Function Generating Random Time
| MEDIUM |
| CVE-2026-63762 SurrealDB vulnerable to Denial of Service through scripting function memory edge case
| MEDIUM |
| CVE-2026-63754 SurrealDB: Crafting malicious LIVE queries writes to the database, resulting in DoS, without permission to the table required
| MEDIUM |
| CVE-2026-63759 SurrealDB vulnerable to Denial of Service due to nested types annotations
| MEDIUM |
| CVE-2025-71392 SurrealDB server-takeover via SurrealQL injection on backup import
| CRITICAL |
| CVE-2026-63746 SurrealDB: Graph traversal bypasses table SELECT permissions
| MEDIUM |
| CVE-2026-63741 SurrealDB: USE NS/DB implicit creation bypasses DEFINE authorization
| MEDIUM |
| CVE-2026-63756 SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
| HIGH |
| CVE-2026-63735 SurrealDB: Custom API route lets authenticated callers override namespace/database scope via URL path
| HIGH |
| CVE-2026-63755 SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level
| MEDIUM |
| CVE-2024-58367 SurrealDB: Improper Authorization in Select Permissions
| HIGH |
| CVE-2026-63740 SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users
| MEDIUM |
| CVE-2024-58363 SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
| MEDIUM |
| CVE-2025-71398 SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
| MEDIUM |
| CVE-2026-63743 SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect
| MEDIUM |
| CVE-2026-121417 Use-after-free in KV backends via leaked `affinitypool::spawn_local` future
| HIGH |
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.