PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-71396 surrealdb CVE debrief

CVE-2025-71396 is a low-severity vulnerability in SurrealDB, a database management system, that can lead to denial of service via JavaScript scripting. The vulnerability exists in SurrealDB versions before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2. An authenticated attacker can submit long-running JavaScript functions to exhaust server resources and cause a denial of service when the scripting capability is explicitly enabled. This issue requires authentication and affects the JavaScript scripting functionality.

Vendor
surrealdb
Product
Unknown
CVSS
LOW 2.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-18
Original CVE updated
2026-08-13
Advisory published
2026-07-18
Advisory updated
2026-08-13

Who should care

Users of SurrealDB versions before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 should be aware of this vulnerability and take steps to mitigate it. This includes administrators and developers who use SurrealDB in their applications. They should review the vulnerability details and implement necessary updates or mitigations.

Technical summary

The vulnerability exists in SurrealDB's JavaScript scripting functionality. When scripting is enabled, an authenticated attacker can submit long-running JavaScript functions to exhaust server resources and cause a denial of service. The CVSS score for this vulnerability is 2.3, indicating a low severity. This issue affects SurrealDB versions before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2. The vulnerability requires authentication and is related to the JavaScript scripting functionality.

Defensive priority

Low

Recommended defensive actions

  • Update SurrealDB to version 2.0.5, 2.1.5, or 2.2.2, or later
  • Disable scripting functionality if not required
  • Monitor server resources for unusual activity
  • Implement rate limiting on JavaScript function submissions
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record was published on 2026-07-18T14:17:11.087Z and has not been modified since then. The NVD entry is currently in the 'Received' state. This information is based on the CVE.org and NVD records. The vulnerability affects SurrealDB versions before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2. The scripting capability is explicitly enabled via --allow-scripting or --allow-all. There is no evidence of public exploitation.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-71396 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-71396

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-71396 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71396

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.