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.
References
| Link | Resource |
|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3824-qmfq-2qv7 | Vendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-javascript-scripting | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
29 Sep 2026, 19:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
Information
Published : 2026-07-18 14:17
Updated : 2026-10-29 21:17
NVD link : CVE-2025-71396
Mitre link : CVE-2025-71396
CVE.ORG link : CVE-2025-71396
JSON object : View
Products Affected
surrealdb
- surrealdb
CWE
CWE-770
Allocation of Resources Without Limits or Throttling
