---
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: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-248
vendor: surrealdb
product: surrealdb
affected:
  - surrealdb < 2.2.2
patched:
  - surrealdb 2.2.2
published: '2026-07-18'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T19:10:00.160'
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
  - cve.org
epss: 0.00555
epssPercentile: 0.46417
ingestedAt: '2026-07-19T05:29:21.171Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-20T15:13:09.264151Z'
scores:
  nvd: 6.5
  cna: 7.1
---

## 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.

## Affected

- `surrealdb < 2.2.2`

## Remediation

Upgrade past the affected range:

- `surrealdb 2.2.2`
