SurrealDB before 2.2.2 Denial of Service via /sql endpoint
Summary
| CVE | CVE-2025-71391 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-18 14:17:10 UTC |
| Updated | 2026-07-18 14:17:10 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 7.1 HIGH from [email protected]
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
Problem Types: CWE-248 | CWE-248 Uncaught Exception
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 7.1 | HIGH | 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/C... |
| 4.0 | CNA | CVSS | 7.1 | HIGH | 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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
NoneIntegrity
NoneAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Surrealdb | Surrealdb | affected 2.2.2 semver | Not specified |
| CNA | Surrealdb | Surrealdb | unaffected 2.2.2 semver | Not specified |
| CNA | Surrealdb | Surrealdb | affected 2.1.5 semver | Not specified |
| CNA | Surrealdb | Surrealdb | unaffected 2.1.5 semver | Not specified |
| CNA | Surrealdb | Surrealdb | affected 2.0.5 semver | Not specified |
| CNA | Surrealdb | Surrealdb | unaffected 2.0.5 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/surrealdb/surrealdb/security/advisories/GHSA-rq86-9m6r-cm3g | [email protected] | github.com | |
| www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-sql-endpoint | [email protected] | www.vulncheck.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: castilho101 (en)
There are currently no legacy QID mappings associated with this CVE.