CVE-2025-71393

Published Jul 18, 2026 CWE-674

Description

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.

Is your site exposed to CVE-2025-71393?

Run a free security scan — no signup, results in seconds.

Weakness Type (CWE)

CWE-674 CWE-674

References

Frequently Asked Questions

What is CVE-2025-71393? +
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.
How do I check if I'm vulnerable to CVE-2025-71393? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-71393 — free, no signup required.