Skip to content
OpenAdvisories
High · 7.1 CVE-2025-71391 EUVD-2025-210491GHSA-rq86-9m6r-cm3gGHSA-x3fg-mm84-q54h

SurrealDB before 2.2.2 Denial of Service via /sql endpoint

Published Jul 18, 2026 · Updated Oct 29, 2026 · Assigned by VulnCheck

Description

SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. Attackers can send crafted HTTP queries containing null bytes to the /sql endpoint, causing an unhandled exception that crashes the SurrealDB instance and any dependent applications.

Affected products

VendorProductAffectedFixed
surrealdb surrealdb 2.2.0 – < 2.2.2, 2.1.0 – < 2.1.5, < 2.0.5 2.2.2

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io surrealdb >= 2.2.0, < 2.2.2 2.2.2 GHSA-rq86-9m6r-cm3g
crates.io surrealdb >= 2.1.0, < 2.1.5 2.1.5 GHSA-rq86-9m6r-cm3g
crates.io surrealdb < 2.0.5 2.0.5 GHSA-rq86-9m6r-cm3g

References