CVE-2025-71396 — SurrealDB before 2.2.2 Denial of Service via JavaScript Scripting
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 …
Published: 2026-07-18 · CVSS: 2.3 · CVSS 4.0
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7