high8.8
CVE-2025-71390
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 restriction…
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | SurrealDB | >= 2.1.0, <= 2.1.7 | 2.1.8 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Surrealdb | Surrealdb | before 2.1.8 from 2.2.0 before 2.2.6 from 2.3.0 before 2.3.6 Version 3.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-m3c3-78fh-w3w7
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m3c3-78fh-w3w7
- https://nvd.nist.gov/vuln/detail/CVE-2025-71390
- https://github.com/surrealdb/surrealdb/pull/6101
- https://github.com/surrealdb/surrealdb/pull/6119
- https://github.com/surrealdb/surrealdb/pull/6120
- https://github.com/surrealdb/surrealdb/pull/6121
- https://github.com/surrealdb/surrealdb/commit/4b317d850c7dabaee228144423741097232f7955
- https://github.com/surrealdb/surrealdb/commit/7c574dfa90211923e2ff1b12510c8479f8805b3d
- https://github.com/surrealdb/surrealdb/commit/b80d7d08b043c0e4bc0b7ff8ddb9be0907c0bf59
- https://github.com/surrealdb/surrealdb/commit/d5dc46f1c255ed450b3af025a0bdc165b6ce54a3
- https://www.vulncheck.com/advisories/surrealdb-before-deny-net-bypass-via-dns-resolution