Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Surrealdb | Surrealdb | < 2.0.5 |
Related Weaknesses (CWE)
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3824-qmfq-2qv7Vendor Advisory
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-javaThird Party Advisory
FAQ
What is CVE-2025-71396?
CVE-2025-71396 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 explicitl...
How severe is CVE-2025-71396?
CVE-2025-71396 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-71396?
Check the references section above for vendor advisories and patch information. Affected products include: Surrealdb Surrealdb.