Skip to main content
← All vulnerabilities
CVE-2025-71390GHSA-M3C3-78FH-W3W7

SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.6, 2.3.6, 2.1.8, 3.0.0-alpha.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

SurrealDB before 2.2.6, 2.3.6, and 2.1.8 (and 3.0.0-alpha.7 and earlier) fails to validate DNS-resolved hostnames against --deny-net network access restrictions in its http::* functions. An authenticated user can invoke http::<fn>(<url>) with a hostname that resolves to a denied IP address, causing the server to issue the request anyway and return the response. This bypasses network access controls, allowing access to restricted internal endpoints and potentially retrieving or altering sensitive information and credentials, depending on the deployment.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • surrealdb surrealdb

    through 2.1.7; From 2.2.0 · fixed in 2.2.6; From 2.3.0 · fixed in 2.3.6; From 3.0.0-alpha.1 · through 3.0.0-alpha.7

  • SurrealDBcrates.io

    From 2.1.0 · fixed in 2.1.8

  • SurrealDBcrates.io

    From 2.2.0 · fixed in 2.2.6

  • SurrealDBcrates.io

    From 3.0.0-alpha.1 · fixed in 3.0.0-alpha.7

  • SurrealDBcrates.io

    From 2.3.0 · fixed in 2.3.6

References 2

GitHub · surrealdb/surrealdb

vulncheck.com