What’s Vulnerable › Vulnerabilities

CVE-2025-71391: SurrealDB before 2.2.2 Denial of Service via /sql endpoint

Description

SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. Attackers can send crafted HTTP queries containing null bytes to the /sql endpoint, causing an unhandled exception that crashes the SurrealDB instance and any dependent applications.

Affected products

How to fix

Upgrade to a fixed version: surrealdb 2.2.2; surrealdb 2.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71391 or the next vulnerability affects your stack