CVE Catalog

CVE-2025-71396

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

21th percentile - higher than 21% of all known CVEs

Summary

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 scripting is explicitly enabled. An authenticated attacker can submit long-running JavaScript functions to exhaust server resources and cause a denial of service. Scripting is disabled by default.

Risk Assessment

The risk is that an authenticated user can perform a DoS attack, potentially leading to server unavailability and service disruption.

Recommendation

Upgrade SurrealDB to version 2.0.5, 2.1.5, or 2.2.2 or later. If scripting is not needed, keep it disabled by default.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS