CVE-2025-71390Published Jul 18, 2026 · Jul 18Updated Oct 28
SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
surrealdb
Medium5.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| SurrealDB crates.io |
|
|
Original 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.
From the CVE record · VulnCheck
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-m3c3-78fh-w3w7Vendor advisory
- vulncheck.com/advisories/surrealdb-before-deny-net-bypass-via-dns-resolutionAdvisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71390.json
- nvd.nist.gov/vuln/detail/CVE-2025-71390
- github.com/surrealdb/surrealdb/pull/6101
- github.com/surrealdb/surrealdb/pull/6119
- github.com/surrealdb/surrealdb/pull/6120
- github.com/surrealdb/surrealdb/pull/6121
- github.com/surrealdb/surrealdb/commit/4b317d850c7dabaee228144423741097232f7955
- github.com/surrealdb/surrealdb/commit/7c574dfa90211923e2ff1b12510c8479f8805b3d
- github.com/surrealdb/surrealdb/commit/b80d7d08b043c0e4bc0b7ff8ddb9be0907c0bf59
- github.com/surrealdb/surrealdb/commit/d5dc46f1c255ed450b3af025a0bdc165b6ce54a3