CVE-2025-71390
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.
How to fix
- surrealdb surrealdb2.1.8, 2.2.6, 2.3.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| surrealdb surrealdb | v < 2.1.8, 2.2.0 ≤ v < 2.2.6, 2.3.0 ≤ v < 2.3.6, 3.0.0 | 2.1.8, 2.2.6, 2.3.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.