CVE-2025-71390 SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution

Medium 5.8 Published Updated

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.

PackageAffectedFixed in
SurrealDB crates.ioFrom 2.1.02.1.8
SurrealDB crates.ioFrom 2.1.02.1.8
SurrealDB crates.ioFrom 2.2.02.2.6
SurrealDB crates.ioFrom 2.2.02.2.6
SurrealDB crates.ioFrom 2.3.02.3.6
SurrealDB crates.ioFrom 2.3.02.3.6
2 more packages
SurrealDB crates.ioFrom 3.0.0-alpha.13.0.0-alpha.7
SurrealDB crates.ioFrom 3.0.0-alpha.13.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.

All Surrealdb Surrealdb vulnerabilities

Sources

Also known as GHSA-m3c3-78fh-w3w7.

Is CVE-2025-71390 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free