CVE-2025-71396: Surrealdb
Medium severity, CVSS 6.5. EPSS: 0.6% chance of exploitation in the next 30 days.
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.
Affected products
- Surrealdb Surrealdb: before 2.0.5 (fixed in 2.0.5); from 2.1.0, before 2.1.5 (fixed in 2.1.5); from 2.2.0, before 2.2.2 (fixed in 2.2.2)
Published 2026-07-18. Last modified 2026-09-29.