CVE-2025-71396 PUBLISHED

SurrealDB before 2.2.2 Denial of Service via JavaScript Scripting

Assigner: VulnCheck
Reserved: 16.07.2026 Published: 18.07.2026 Updated: 18.07.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 2.3

Product Status

Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.2.2 (excl.)
  • Version 2.2.2 is unaffected
Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.0.5 (excl.)
  • Version 2.0.5 is unaffected
Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.1.5 (excl.)
  • Version 2.1.5 is unaffected

Credits

  • cure53 reporter

References

Problem Types

  • Allocation of Resources Without Limits or Throttling CWE