CVE-2025-71391

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability46. percentile0.6%
ProductSurrealdb
PublishedJul 18, 2026
First seenJul 18, 2026
Weakness typeCWE-248CWE-248

How to fix

Update
  • surrealdb surrealdb2.2.2 or later

Affected products

ProductAffected versionsFixed in
surrealdb surrealdbv < 2.2.22.2.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.