Skip to main content
← All vulnerabilities
CVE-2025-71391GHSA-RQ86-9M6R-CM3G

SurrealDB before 2.2.2 Denial of Service via /sql endpoint

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.2, 2.1.5, 2.0.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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, causing an unhandled exception that crashes the SurrealDB instance and any dependent applications.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • surrealdb surrealdb

    From 2.2.0 · fixed in 2.2.2

  • surrealdb surrealdb

    From 2.1.0 · fixed in 2.1.5

  • surrealdb surrealdb

    fixed in 2.0.5

  • surrealdbcrates.io

    From 2.2.0 · fixed in 2.2.2

  • surrealdbcrates.io

    From 2.1.0 · fixed in 2.1.5

  • surrealdbcrates.io

    fixed in 2.0.5

References 2

GitHub · surrealdb/surrealdb

vulncheck.com