CVE-2025-71390 SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
Authenticated users can bypass network restrictions in SurrealDB via DNS resolution, accessing restricted internal endpoints to read or modify sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-71390?
CVE-2025-71390 is a medium-severity server-side request forgery vulnerability in Surrealdb Surrealdb, published on 18 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-863
Which versions are affected by CVE-2025-71390?
8 open source packages ship an affected version, including SurrealDB. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
SurrealDB crates.io | From 2.1.0 | 2.1.8 |
SurrealDB crates.io | From 2.1.0 | 2.1.8 |
SurrealDB crates.io | From 2.2.0 | 2.2.6 |
SurrealDB crates.io | From 2.2.0 | 2.2.6 |
SurrealDB crates.io | From 2.3.0 | 2.3.6 |
SurrealDB crates.io | From 2.3.0 | 2.3.6 |
2 more packages
SurrealDB crates.io | From 3.0.0-alpha.1 | 3.0.0-alpha.7 |
SurrealDB crates.io | From 3.0.0-alpha.1 | 3.0.0-alpha.7 |
Products include Surrealdb Surrealdb.
How do I fix CVE-2025-71390?
Upgrade SurrealDB to a fixed version for your release line: 2.1.8, 2.2.6, 2.3.6 or 3.0.0-alpha.7.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2025-71390 being exploited?
There is no known exploitation of CVE-2025-71390 in the wild and no public exploit code.
Other vulnerabilities in Surrealdb Surrealdb
- CVE-2025-71392 SurrealDB before 2.2.2 SurrealQL Injection via export
- CVE-2026-63756 SurrealDB before 3.1.0 Privilege Escalation via RPC Session Race Condition
- CVE-2026-63747 SurrealDB before 3.1.0 Denial of Service via malformed RPC use
- CVE-2026-63757 SurrealDB before 3.1.0 Session Hijacking via /rpc sessions
- CVE-2026-63760 SurrealDB before 3.1.0 Denial of Service via JSON Parser
Sources
Also known as GHSA-m3c3-78fh-w3w7.