crates.io (Rust)Worst: Critical80 advisories
surrealdb: known vulnerabilities
surrealdb has 80 reviewed security advisories in the GitHub Advisory Database — 2 critical, 27 high, 46 moderate, 5 low. The most recent was published 2026-09-04. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the surrealdb versions running across your servers, containers and images, and ranks what to patch first.
How to fix surrealdb
Upgrade surrealdb to a release at or above the fixed version shown for each advisory below. For crates.io (Rust):
cargo update -p surrealdb --precise 3.2.0 (cargo audit)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (80)
SurrealDB: Custom API route lets authenticated callers override namespace/database scope via URL path
High 8.1 CWE-639 CWE-862
— Affected: before 3.2.0. Fixed in 3.2.0. Published 2026-09-04. GHSA-848m-r628-vrxw · CVE-2026-63735
SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users
Moderate 6.5 CWE-863
— Affected: before 3.1.4. Fixed in 3.1.4. Published 2026-08-14. GHSA-8rw6-p7m8-63jp · CVE-2026-63740
Duplicate Advisory: Custom API route lets authenticated callers override namespace/database scope via URL path
High 8.1 CWE-639
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-3f6w-45q9-v69m
Duplicate Advisory: SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level
High 6.5 CWE-863
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-4f9v-jpx9-mjvw
Duplicate Advisory: SurrealDB: Graph traversal bypasses table SELECT permissions
High 6.5 CWE-200
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-4q5r-gwcx-24m9
Duplicate Advisory: Writes in a PERMISSIONS clause bypass table permissions
Moderate 4.3 CWE-863
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-6g69-7xmf-h2x7
Duplicate Advisory: SurrealDB has bypass of field-level SELECT permissions through JSON Patch `copy` and `move` with empty `from`
Moderate 4.3 CWE-863
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-8pr5-wpg9-2h74
Duplicate Advisory: SurrealDB: Field-level SELECT permissions bypassed via graph and reference traversals
Moderate 4.3 CWE-863
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-9c3h-q3pp-fw5x
Duplicate Advisory: SurrealDB: ES512 silently downgraded to ES384 due to jsonwebtoken crate limitation
Moderate 4.3 CWE-327
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-gw59-x2xr-wwvr
Duplicate Advisory: SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users
High 6.5 CWE-863
— Affected: up to and including 3.1.3. No fixed release is listed. Published 2026-07-20. GHSA-j6mj-v752-pp4x
Duplicate Advisory: SurrealDB has Denial of Service in JSON parser due to nested objects
High 7.5 CWE-674
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-m464-hj36-96vx
Duplicate Advisory: SurrealDB: Authorization Bypass in KILL Statement Allows Termination of Other Users' Live Queries
Moderate 5.4 CWE-862
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-mf42-3c8q-x7x8
Duplicate Advisory: SurrealDB: Authenticated callers can read fields hidden by field-level SELECT permissions via error messages
Moderate 4.3 CWE-209
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-p7hp-79jj-q923
Duplicate Advisory: SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect
Moderate 6.4 CWE-918
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-20. GHSA-vq7c-3hc9-m5hr
Duplicate Advisory: SurrealDB no JavaScript script function default timeout could facilitate DoS
Low 6.5 CWE-770
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-6g9r-xqrf-34xh
Duplicate Advisory: Uncaught Exception in Macro Expecting Native Function to Exist
High 6.5 CWE-248
— Affected: up to and including 1.1.1. No fixed release is listed. Published 2026-07-18. GHSA-9qjc-q7hw-vw5r
Duplicate Advisory: SurrealDB has an Uncaught Exception Handling Nonexistent Role
Moderate 4.9 CWE-248
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-9qrf-6whp-92w3
Duplicate Advisory: Uncaught Exception processing HTTP Headers in SurrealDB
High 7.5 CWE-248
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-f7q6-7rq9-3phx
Duplicate Advisory: SurrealDB server-takeover via SurrealQL injection on backup import
Critical 8.0 CWE-77
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-h5q3-3v5q-v5j8
Duplicate Advisory: SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
Moderate 6.3 CWE-287
— Affected: up to and including 1.5.3. No fixed release is listed. Published 2026-07-18. GHSA-hgp5-pm7v-q8vg
Duplicate Advisory: Improper Authorization in Select Permissions
High 6.5 CWE-285
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-j9rh-f527-3x87
Duplicate Advisory: Full Table Permissions by Default
High 8.8 CWE-276
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-m8pp-qc66-6pgp
Duplicate Advisory: SurrealDB has Silent Failure to Overwrite Table Definition of Relation Type
Low 6.3 CWE-276
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-vmg6-53r4-jhpw
Duplicate Advisory: SurrealDB allows bypass of deny-net flags via DNS resolution
Moderate 8.8 CWE-863
— Affected: 2.1.0 through 2.1.7. No fixed release is listed. Published 2026-07-18. GHSA-vp9r-94xg-q7q8
Duplicate Advisory: SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
Moderate 7.6 CWE-918
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-xhwm-9486-8rgr
Duplicate Advisory: Untrusted Query Object Evaluation in RPC API
High 8.8 CWE-75
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-18. GHSA-xw2c-hrr9-4xwr · CVE-2024-58362
Duplicate Advisory: SurrealDB: Indexed ORDER BY leaks the value ordering of a SELECT-restricted field
Moderate 4.3 CWE-863
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-07-17. GHSA-2f98-6626-h2p2
SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
Moderate 5.4 CWE-285 CWE-863
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-15. GHSA-whwg-vh4f-pmmf · CVE-2026-49997
SurrealDB: LIVE query subscriptions survive session state changes, bypassing access controls
Moderate 4.3 CWE-613
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-4m82-p8cx-f94j · CVE-2026-63753
SurrealDB: Crafting malicious LIVE queries writes to the database, resulting in DoS, without permission to the table required
Moderate 6.5 CWE-754
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-4v76-cw68-4vc9 · CVE-2026-63754
SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
High 8.1 CWE-362
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-4vgr-h27g-cf9p · CVE-2026-63756
SurrealDB: HTTP /rpc `sessions` method leaks attached session UUIDs, enabling full session hijack by anonymous callers
High 8.8 CWE-384
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-5qfp-32cf-69jh · CVE-2026-63757
SurrealDB vulnerable to pre-auth memory amplification via unbounded `/sql` WebSocket frames
Moderate 5.3 CWE-770
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-65rj-r9fh-jp2v · CVE-2026-63750
SurrealDB: Authenticated callers can read fields hidden by field-level SELECT permissions via error messages
Moderate 4.3 CWE-209
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-6g9v-7gq3-p2c6 · CVE-2026-63748
SurrealDB has an Authorization Bypass via Composite Record-id Paths
Moderate 5.4 CWE-639 CWE-863
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-6vg3-hgrw-p5gf · CVE-2026-63745
SurrealDB: Authenticated subscribers can read records hidden by SELECT permissions via LIVE subscriptions
Moderate 4.3 CWE-863
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-6wqw-vhfr-9999 · CVE-2026-63749
SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect
Moderate 6.4 CWE-918
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-97vg-427p-8hx5 · CVE-2026-63743
SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level
Moderate 6.5 CWE-863
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-98fx-66cf-fc7c · CVE-2026-63755
SurrealDB: Field-level SELECT permissions bypassed via indexed COUNT fast paths
Moderate 4.3 CWE-863
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-c8jx-96c9-8xrp · CVE-2026-63742
SurrealDB: `RELATE` overwrites existing edge records without `UPDATE` permission
Moderate 4.3 CWE-285
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-f82j-v89j-mf86 · CVE-2026-63752
SurrealDB has bypass of field-level SELECT permissions through JSON Patch `copy` and `move` with empty `from`
Moderate 4.3 CWE-863
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-fpxg-5xmv-922m · CVE-2026-63751
SurrealDB: ES512 silently downgraded to ES384 due to jsonwebtoken crate limitation
Moderate 4.3 CWE-327
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-fwg2-gr34-q3w8 · CVE-2026-63761
SurrealDB: Authorization Bypass in KILL Statement Allows Termination of Other Users' Live Queries
Moderate 5.4 CWE-862
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-gcwr-5mrf-fvch · CVE-2026-63758
SurrealDB has Denial of Service in JSON parser due to nested objects
High 7.5 CWE-674
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-q729-696q-g9pq · CVE-2026-63760
SurrealDB vulnerable to Denial of Service due to nested types annotations
Moderate 6.5 CWE-674
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-q8qp-67f9-wr3f · CVE-2026-63759
SurrealDB: Graph traversal bypasses table SELECT permissions
Moderate 6.5 CWE-200 CWE-863
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-vjjx-rfw4-rmfc · CVE-2026-63746
SurrealDB has unauthenticated remote DoS via malformed RPC `use` call
High 7.5 CWE-248 CWE-754
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-wjjj-24cx-f28g · CVE-2026-63747
SurrealDB: USE NS/DB implicit creation bypasses DEFINE authorization
Moderate 6.5 CWE-862 CWE-863
— Affected: before 3.1.0. Fixed in 3.1.0. Published 2026-07-01. GHSA-wp87-mgvq-5j93 · CVE-2026-63741
SurrealDB: Arbitrary file read via DEFINE ANALYZER mapper() filter
High 7.7 CWE-209 CWE-22
— Affected: before 3.1.5. Fixed in 3.1.5. Published 2026-06-19. GHSA-cc8f-fcx3-gpjr · CVE-2026-63739
SurrealDB: Indexed ORDER BY leaks the value ordering of a SELECT-restricted field
Moderate 4.3 CWE-200
— Affected: from 3.0.0 up to 3.1.5. Fixed in 3.1.5. Published 2026-06-19. GHSA-h4h3-3rfj-x6fq · CVE-2026-63309
SurrealDB: SSRF via JWKS URL — Redirect Following in JWT Key Fetch
Moderate 4.1 CWE-918
— Affected: before 3.1.5. Fixed in 3.1.5. Published 2026-06-19. GHSA-h5rg-8p7f-47g2 · CVE-2026-63744
SurrealDB: Field-level SELECT permissions bypassed via graph and reference traversals
Moderate 4.3 CWE-863
— Affected: from 3.1.0 up to 3.1.5. Fixed in 3.1.5. Published 2026-06-19. GHSA-hv6h-hc26-q48p · CVE-2026-63738
SurrealDB: Denial of Service via deep operator chains
Moderate 6.5 CWE-674
— Affected: from 3.0.0 up to 3.1.5. Fixed in 3.1.5. Published 2026-06-19. GHSA-jv2j-mqmw-xvv5 · CVE-2026-63737
SurrealDB vulnerable to Denial of Service through scripting function memory edge case
Moderate CWE-476
— Affected: from 3.0.0-alpha.8 up to 3.0.0-beta.3. Fixed in 3.0.0-beta.3. Published 2026-02-12. GHSA-xx7m-69ff-9crp · CVE-2026-63762
SurrealDB Affected by Confused Deputy Privilege Escalation through Future Fields and Functions
High CWE-441
— Affected: from 3.0.0-alpha.1 up to 3.0.0-beta.3. Fixed in 3.0.0-beta.3. Published 2026-01-22. GHSA-3v2x-9xcv-2v2v · CVE-2026-63763
Duplicate Advisory: SurrealDB is Vulnerable to Unauthorized Data Exposure via LIVE Query Subscriptions
Moderate 5.7 CWE-863
— Affected versions listed in the advisory. No fixed release is listed. Published 2025-09-26. GHSA-98f8-j56x-2hh4
SurrealDB memory exhaustion via string::replace using regex
High CWE-789
— Affected: before 2.0.5. Fixed in 2.0.5. Published 2025-04-11. GHSA-3633-g6mg-p6qq · CVE-2025-71395
SurrealDB no JavaScript script function default timeout could facilitate DoS
Low CWE-770
— Affected: from 2.1.0 up to 2.1.5. Fixed in 2.1.5. Published 2025-04-11. GHSA-3824-qmfq-2qv7 · CVE-2025-71396
SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
Moderate CWE-918
— Affected: before 2.0.5. Fixed in 2.0.5. Published 2025-04-11. GHSA-5q9x-554g-9jgg · CVE-2025-71398
SurrealDB server-takeover via SurrealQL injection on backup import
Critical CWE-77
— Affected: before 2.0.5. Fixed in 2.0.5. Published 2025-04-11. GHSA-ccj3-5p93-8p42 · CVE-2025-71392
SurrealDB CPU exhaustion via custom functions result in total DoS
High CWE-835
— Affected: before 2.0.5. Fixed in 2.0.5. Published 2025-04-11. GHSA-pxw4-94j3-v9pf · CVE-2025-71397
SurrealDB has local file read of 2-column TSV files via analyzers
Low CWE-22
— Affected: before 2.1.5. Fixed in 2.1.5. Published 2025-04-10. GHSA-2cvj-g5r5-jrrg · CVE-2025-71394
SurrealDB vulnerable to memory exhaustion via nested functions and scripts
Moderate CWE-674
— Affected: before 2.0.5. Fixed in 2.0.5. Published 2025-04-10. GHSA-m7rc-8w7m-r9qr · CVE-2025-71393
SurrealDB has uncaught exception in Net module that leads to database crash
High CWE-248
— Affected: before 2.0.5. Fixed in 2.0.5. Published 2025-04-10. GHSA-rq86-9m6r-cm3g · CVE-2025-71391
SurrealDB has Silent Failure to Overwrite Table Definition of Relation Type
Low CWE-732
— Affected: from 2.0.0 up to 2.1.4. Fixed in 2.1.4. Published 2024-12-16. GHSA-27vq-hv74-7cqp · CVE-2024-58356
SurrealDB has an Uncaught Exception in Function Generating Random Time
Moderate 6.5 CWE-248
— Affected: before 2.1.0. Fixed in 2.1.0. Published 2024-11-22. GHSA-h4f5-h82v-5w4r · CVE-2024-58357
SurrealDB has an Uncaught Exception Handling Nonexistent Role
Moderate 4.9 CWE-248
— Affected: before 2.1.0. Fixed in 2.1.0. Published 2024-11-22. GHSA-jc55-246c-r88f · CVE-2024-58358
SurrealDB has an Uncaught Exception Sorting Tables by Random Order
Moderate 6.5 CWE-248
— Affected: before 2.1.0. Fixed in 2.1.0. Published 2024-11-22. GHSA-m52v-24p8-654f · CVE-2024-58359
SurrealDB: Improper Authorization in Select Permissions
High 6.5 CWE-285
— Affected: before 2.0.4. Fixed in 2.0.4. Published 2024-10-08. GHSA-9722-9j67-vjcr · CVE-2024-58367
SurrealDB has an Uncaught Exception Handling Parsing Errors on Empty Strings
High 6.5 CWE-248
— Affected: from 2.0.0 up to 2.0.4. Fixed in 2.0.4. Published 2024-10-08. GHSA-qjrv-v6qp-x99x · CVE-2024-58361
Untrusted Query Object Evaluation in RPC API
High 8.8 CWE-75
— Affected: from 2.0.0-beta.1 up to 2.0.0-beta.3. Fixed in 2.0.0-beta.3. Published 2024-09-11. GHSA-64f8-pjgr-9wmr · CVE-2024-58362
SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
Moderate 6.3 CWE-287
— Affected: from 2.0.0-alpha.1 up to 2.0.0-alpha.6. Fixed in 2.0.0-alpha.6. Published 2024-07-11. GHSA-gh9f-6xm2-c4j2 · CVE-2024-58363
Uncaught Exception in Macro Expecting Native Function to Exist
Moderate 6.5 CWE-248
— Affected: before 1.2.0. Fixed in 1.2.0. Published 2024-02-21. GHSA-6wr5-jmpr-mjcx · CVE-2024-58365
Uncaught Exception Handling Parsing Errors on Line Terminators
Moderate 6.5 CWE-248
— Affected: before 1.2.1. Fixed in 1.2.1. Published 2024-02-21. GHSA-8xff-473h-f863 · CVE-2024-58364
Externally Controlled Format String in Scripting Functions
High 8.5
— Affected: before 1.1.1. Fixed in 1.1.1. Published 2024-02-21. GHSA-q3gg-m8hr-h4x4 · CVE-2024-58366
SurrealDB vulnerable to Uncontrolled CPU Consumption via WebSocket Interface
High 7.5
— Affected: before 1.1.0. Fixed in 1.1.0. Published 2024-01-19. GHSA-58j9-j2fj-v8f4
Uncontrolled Recursion in SurrealQL Parsing
Moderate 6.5 CWE-674
— Affected: before 1.1.0. Fixed in 1.1.0. Published 2024-01-18. GHSA-6r8p-hpg7-825g · CVE-2024-58370
Uncaught Exception in surrealdb
Moderate 6.5 CWE-248
— Affected: before 1.1.1. Fixed in 1.1.1. Published 2024-01-18. GHSA-jm4v-58r5-66hj · CVE-2024-58369
Uncaught Exception processing HTTP Headers in SurrealDB
High 7.5
— Affected: before 1.1.0. Fixed in 1.1.0. Published 2024-01-18. GHSA-m24x-r6q3-2vp9 · CVE-2024-58368
SurrealDB: Full Table Permissions by Default
High 8.8 CWE-276
— Affected: before 1.0.1. Fixed in 1.0.1. Published 2023-12-15. GHSA-x5fr-7hhj-34j3 · CVE-2023-54366
Find surrealdb across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.