Skip to main content
crates.io (Rust)

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.

36 Vulnerabilities

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.

36
Total
1
Critical
17
High
18
Medium
0
Low

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 / GHSASeverity
CVE-2024-58368
Uncaught Exception processing HTTP Headers in SurrealDB
Affected
All versions
Fixed in
1.1.0
HIGH
CVE-2024-58362
Untrusted Query Object Evaluation in RPC API
Affected
All versions
Fixed in
1.5.5, 2.0.0-beta.3
HIGH
CVE-2025-11060
SurrealDB is Vulnerable to Unauthorized Data Exposure via LIVE Query Subscriptions
Affected
All versions
Fixed in
2.3.8, 2.2.8, 2.1.9 (+1 more)
MEDIUM
CVE-2024-58366
Externally Controlled Format String in Scripting Functions
Affected
All versions
Fixed in
1.1.1
HIGH
CVE-2025-71391
SurrealDB has uncaught exception in Net module that leads to database crash
Affected
All versions
Fixed in
2.2.2, 2.1.5, 2.0.5
HIGH
CVE-2025-71397
SurrealDB CPU exhaustion via custom functions result in total DoS
Affected
All versions
Fixed in
2.2.2, 2.1.5, 2.0.5
HIGH
CVE-2026-63757
SurrealDB: HTTP /rpc `sessions` method leaks attached session UUIDs, enabling full session hijack by anonymous callers
Affected
All versions
Fixed in
3.1.0
HIGH
CVE-2026-63747
SurrealDB has unauthenticated remote DoS via malformed RPC `use` call
Affected
All versions
Fixed in
3.1.0
HIGH
CVE-2026-63760
SurrealDB has Denial of Service in JSON parser due to nested objects
Affected
All versions
Fixed in
3.1.0
HIGH
CVE-2026-63763
SurrealDB Affected by Confused Deputy Privilege Escalation through Future Fields and Functions
Affected
All versions
Fixed in
2.5.0, 3.0.0-beta.3
HIGH
CVE-2026-63737
SurrealDB: Denial of Service via deep operator chains
Affected
All versions
Fixed in
3.1.5
MEDIUM
CVE-2026-63739
SurrealDB: Arbitrary file read via DEFINE ANALYZER mapper() filter
Affected
All versions
Fixed in
3.1.5
HIGH
CVE-2023-54366
SurrealDB: Full Table Permissions by Default
Affected
All versions
Fixed in
1.0.1
HIGH
CVE-2025-71393
SurrealDB vulnerable to memory exhaustion via nested functions and scripts
Affected
All versions
Fixed in
2.2.2, 2.1.5, 2.0.5
MEDIUM
CVE-2025-71390
SurrealDB allows bypass of deny-net flags via DNS resolution
Affected
All versions
Fixed in
2.1.8, 2.2.6, 3.0.0-alpha.7 (+1 more)
MEDIUM
CVE-2024-58361
SurrealDB has an Uncaught Exception Handling Parsing Errors on Empty Strings
Affected
All versions
Fixed in
2.0.4
HIGH
CVE-2025-71395
SurrealDB memory exhaustion via string::replace using regex
Affected
All versions
Fixed in
2.2.2, 2.1.5, 2.0.5
HIGH
CVE-2024-58365
Uncaught Exception in Macro Expecting Native Function to Exist
Affected
All versions
Fixed in
1.2.0
MEDIUM
CVE-2024-58364
Uncaught Exception Handling Parsing Errors on Line Terminators
Affected
All versions
Fixed in
1.2.1
MEDIUM
CVE-2024-58359
SurrealDB has an Uncaught Exception Sorting Tables by Random Order
Affected
All versions
Fixed in
2.1.0
MEDIUM
CVE-2024-58357
SurrealDB has an Uncaught Exception in Function Generating Random Time
Affected
All versions
Fixed in
2.1.0
MEDIUM
CVE-2026-63762
SurrealDB vulnerable to Denial of Service through scripting function memory edge case
Affected
All versions
Fixed in
2.6.1, 3.0.0-beta.3
MEDIUM
CVE-2026-63754
SurrealDB: Crafting malicious LIVE queries writes to the database, resulting in DoS, without permission to the table required
Affected
All versions
Fixed in
3.1.0
MEDIUM
CVE-2026-63759
SurrealDB vulnerable to Denial of Service due to nested types annotations
Affected
All versions
Fixed in
3.1.0
MEDIUM
CVE-2025-71392
SurrealDB server-takeover via SurrealQL injection on backup import
Affected
All versions
Fixed in
2.2.2, 2.1.5, 2.0.5
CRITICAL
CVE-2026-63746
SurrealDB: Graph traversal bypasses table SELECT permissions
Affected
All versions
Fixed in
3.1.0
MEDIUM
CVE-2026-63741
SurrealDB: USE NS/DB implicit creation bypasses DEFINE authorization
Affected
All versions
Fixed in
3.1.0
MEDIUM
CVE-2026-63756
SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
Affected
All versions
Fixed in
3.1.0
HIGH
CVE-2026-63735
SurrealDB: Custom API route lets authenticated callers override namespace/database scope via URL path
Affected
All versions
Fixed in
3.2.0
HIGH
CVE-2026-63755
SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level
Affected
All versions
Fixed in
3.1.0
MEDIUM
CVE-2024-58367
SurrealDB: Improper Authorization in Select Permissions
Affected
All versions
Fixed in
2.0.4
HIGH
CVE-2026-63740
SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users
Affected
All versions
Fixed in
3.1.4
MEDIUM
CVE-2024-58363
SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
Affected
All versions
Fixed in
1.5.4, 2.0.0-alpha.6
MEDIUM
CVE-2025-71398
SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
Affected
All versions
Fixed in
2.2.2, 2.1.5, 2.0.5
MEDIUM
CVE-2026-63743
SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect
Affected
All versions
Fixed in
3.1.0
MEDIUM
CVE-2026-121417
Use-after-free in KV backends via leaked `affinitypool::spawn_local` future
Affected
All versions
Fixed in
3.3.0
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.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed