---
id: CVE-2025-71391
title: >-
  SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in
  the net module that allows authenticated users to crash the database
summary: >-
  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, caus…
severity: none
cwe:
  - CWE-248
published: '2026-07-18'
updated: '2026-07-18'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71391'
references:
  - url: >-
      https://github.com/surrealdb/surrealdb/security/advisories/GHSA-rq86-9m6r-cm3g
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-sql-endpoint
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-07-19T05:29:21.171Z'
epss: 0.00555
epssPercentile: 0.4394
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
