Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-71397

6.5 · MEDIUM
Published Jul 18, 2026 surrealdb CWE-835

Overview

CVE-2025-71397 is a medium-severity vulnerability affecting surrealdb surrealdb. It was published on July 18, 2026 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 allows authenticated users with OWNER or EDITOR permissions (at the root, namespace, or database level) to define custom database functions via DEFINE FUNCTION using nested FOR loops. Although a single loop's iteration count is constrained, nesting multiple loops (e.g., each with 1,000,000 iterations) is not, so an attacker can execute a function that consumes all server CPU time. Configured timeouts do not stop the execution, rendering the server unresponsive to other queries and connections until it is manually restarted.

Remediation

Check the references section for vendor advisories and patches from surrealdb. Update surrealdb to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
surrealdb surrealdb >= 0, < 2.0.5 Affected

Frequently Asked Questions

What is CVE-2025-71397?

CVE-2025-71397 is a medium-severity vulnerability affecting surrealdb surrealdb. It was published on July 18, 2026 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

How severe is CVE-2025-71397?

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-71397?

Check the references section for vendor advisories and patches from surrealdb. Update surrealdb to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-71397?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-71397 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.