Vulnerability in Surrealdb

CVE-2025-71391

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.

EPSS: 0.003 (22.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-71391?
CVE-2025-71391 is a medium-severity vulnerability in Surrealdb, classified under CWE-248. CVSS score: 6.5/10. Published 2026-07-18.
How severe is CVE-2025-71391?
Medium severity. CVSS v3 base score is 6.5 out of 10.