Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-71396
Published:July 18, 2026
Updated:August 06, 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.
Affected Packages
https://github.com/surrealdb/surrealdb.git (GITHUB):
Affected version(s) >=v2.2.0 <v2.2.2
Fix Suggestion:
Update to version v2.2.2
https://github.com/surrealdb/surrealdb.git (GITHUB):
Affected version(s) >=v1.0.0 <v2.0.5
Fix Suggestion:
Update to version v2.0.5
https://github.com/surrealdb/surrealdb.git (GITHUB):
Affected version(s) >=v2.1.0 <v2.1.5
Fix Suggestion:
Update to version v2.1.5
surrealdb (RUST):
Affected version(s) >=1.0.0-beta.1 <2.0.5
Fix Suggestion:
Update to version 2.0.5
surrealdb-core (RUST):
Affected version(s) >=2.1.0 <2.1.5
Fix Suggestion:
Update to version 2.1.5
surrealdb (RUST):
Affected version(s) >=2.1.0 <2.1.5
Fix Suggestion:
Update to version 2.1.5
surrealdb-core (RUST):
Affected version(s) >=2.2.0 <2.2.2
Fix Suggestion:
Update to version 2.2.2
surrealdb-core (RUST):
Affected version(s) >=1.1.1 <2.0.5
Fix Suggestion:
Update to version 2.0.5
surrealdb (RUST):
Affected version(s) >=2.2.0 <2.2.2
Fix Suggestion:
Update to version 2.2.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling
EPSS
Base Score:
0.29