CVE-2025-71396 LOW

CVE-2025-71396: SurrealDB before 2.2.2 Denial of Service via JavaScript Scripting

Vendor Surrealdb
Product surrealdb
Weakness CWE-770 · Uncontrolled resource consumption
Published July 18, 2026
Last update July 20, 2026

CVSS base score

2.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 18, 2026 CVE published
July 20, 2026 Record updated