What’s Vulnerable › Vulnerabilities
CVE-2025-71390: SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-18 · updated 2026-09-29
- Weakness: CWE-863
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
- surrealdb: before 2.1.8; from 2.2.0 before 2.2.6; from 2.3.0 before 2.3.6; 3.0.0-alpha1, 3.0.0-alpha2, 3.0.0-alpha3, 3.0.0-alpha4, 3.0.0-alpha5, 3.0.0-alpha6 (+1) — fixed in 2.1.8, 2.2.6, 2.3.6
How to fix
Upgrade to a fixed version: surrealdb 2.1.8, 2.2.6, 2.3.6. Check the vendor advisory for mitigations.
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m3c3-78fh-w3w7
- https://www.vulncheck.com/advisories/surrealdb-before-deny-net-bypass-via-dns-resolution
Get alerted when CVE-2025-71390 or the next vulnerability affects your stack