Vulnerability Explorer›CVE-2025-71393
VULNERABILITY
CVE-2025-71393
Common Vulnerabilities and Exposures record
MEDIUM
Summary
SurrealDB before 2.2.2 with scripting enabled fails to properly enforce recursion limits when native functions contain embedded JavaScript that issues new queries. Authenticated attackers can bypass the recursion limit by chaining native and JavaScript function calls to trigger infinite recursion and exhaust server memory.
Risk
- CVSS
- 6.0
- Severity
- MEDIUM
- Vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Timeline
- Published
- Jul 18, 2026 14:17
- Modified
- Oct 29, 2026 21:17
- Last observed
- Oct 29, 2026 18:00
CWE
Affected product identifiers
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*