CVE-2025-71391

HIGH

SurrealDB before 2.2.2 Denial of Service via /sql endpoint

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-rq86-9m6r-cm3g)
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-rq86-9m6r-cm3g
Third Party Advisory third-party-advisory
VulnCheck Advisory: SurrealDB before 2.2.2 Denial of Service via /sql endpoint
https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-sql-endpoint

Scores

CVSS v4 7.1
EPSS 0.0027
EPSS Percentile 18.4%
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-248
Status published
Products (6)
surrealdb/surrealdb < 2.0.5
surrealdb/surrealdb < 2.1.5
surrealdb/surrealdb < 2.2.2
surrealdb/surrealdb 2.0.5
surrealdb/surrealdb 2.1.5
surrealdb/surrealdb 2.2.2
Published Jul 18, 2026
Tracked Since Jul 18, 2026