Skip to content
OpenAdvisories
Medium · 5.8 CVE-2025-71390 EUVD-2025-210490GHSA-m3c3-78fh-w3w7GHSA-vp9r-94xg-q7q8

SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution

Published Jul 18, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
surrealdb surrealdb ≤ 2.1.7, 2.2.0 – < 2.2.6, 2.3.0 – < 2.3.6, 3.0.0-alpha.1 – ≤ 3.0.0-alpha.7 2.2.6

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io SurrealDB >= 2.1.0, < 2.1.8 2.1.8 GHSA-m3c3-78fh-w3w7
crates.io SurrealDB >= 2.2.0, < 2.2.6 2.2.6 GHSA-m3c3-78fh-w3w7
crates.io SurrealDB >= 3.0.0-alpha.1, < 3.0.0-alpha.7 3.0.0-alpha.7 GHSA-m3c3-78fh-w3w7
crates.io SurrealDB >= 2.3.0, < 2.3.6 2.3.6 GHSA-m3c3-78fh-w3w7

References