CVE-2025-71396
Severity CVSS v4.0:
LOW
Type:
Unavailable / Other
Publication date:
18/07/2026
Last modified:
13/08/2026
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.
Impact
Base Score 4.0
2.30
Severity 4.0
LOW
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | 2.0.5 (excluding) | |
| cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | 2.1.0 (including) | 2.1.5 (excluding) |
| cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | 2.2.0 (including) | 2.2.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



