Medium severity · published Jul 18, 2026
CVE-2025-71396
SurrealDB before 2.2.2 Denial of Service via JavaScript Scripting
6.5
CVSS
0.6%
EPSS
No
On KEV
Description
SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 does not enforce a default execution-time limit on embedded JavaScript scripting functions when the scripting capability is explicitly enabled (via --allow-scripting or --allow-all). An authenticated attacker can submit long-running JavaScript functions to exhaust server resources and cause a denial of service. Scripting is disabled by default.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SU
surrealdb · surrealdb
before 2.2.2; before 2.0.5; before 2.1.5 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-71396
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-71396
vendor-advisory
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3824-qmfq-2qv7
third-party-advisory
https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-javascript-scripting
More from surrealdb
8.8
CVE-2026-63763
SurrealDB before 2.5.0 Privilege Escalation via Future Fields
8.8
CVE-2026-63757
SurrealDB before 3.1.0 Session Hijacking via /rpc sessions
8.8
CVE-2025-71390
SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
8.8
CVE-2024-58366
SurrealDB before 1.1.1 Format String via Scripting Functions
8.8
CVE-2024-58362
SurrealDB before 1.5.5 Query Injection via RPC API
