Skip to main content
EPSS 0.4%top 62%

Surrealdb: Duplicate Advisory: Uncaught Exception in Macro Expecting Native Function to Exist

0
High
Published: 07/18/2026 (07/18/2026, 15:31:48 UTC)
Source: GCVE Database
Product: surrealdb

Description

SurrealDB versions before 1.2.0 have an uncaught exception vulnerability in the query executor. This occurs when authorized clients send queries that call nonexistent built-in functions, causing the server to panic and crash. The issue leads to a denial of service but does not impact confidentiality or integrity.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →ai
surrealdb/surrealdb
pkg:github/surrealdb/surrealdb
Affected versions
<1.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 11:02:17 UTC

Technical Analysis

CVE-2024-58365 affects SurrealDB versions prior to 1.2.0. The vulnerability arises from the query executor not handling calls to nonexistent native functions properly, resulting in an uncaught exception that crashes the server. Authorized users can exploit this by crafting pre-parsed queries invoking these nonexistent functions, triggering a denial of service condition. The vulnerability has a CVSS v3.1 score of 6.5, indicating a high severity primarily due to availability impact. There is no indication of data compromise or integrity loss. This advisory is a duplicate of GHSA-6wr5-jmpr-mjcx and has been withdrawn to preserve references.

Potential Impact

The vulnerability allows authorized clients to cause a server crash by invoking nonexistent built-in functions in queries, resulting in denial of service. There is no impact on confidentiality or integrity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since this advisory is a duplicate and no patch links are provided, users should monitor official SurrealDB advisories for updates and apply any official fixes once available. Until then, restricting query inputs to prevent calls to nonexistent functions may reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-9qjc-q7hw-vw5r
Osv Schema Version
1.4.0
Aliases
["CVE-2024-58365"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a5ba17e44ab8fbf7c789ba4

Added to database: 07/18/2026, 15:53:34 UTC

Last enriched: 09/12/2026, 11:02:17 UTC

Last updated: 10/16/2026, 06:48:10 UTC

Views: 99

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses