cve.bz

CVE-2025-71390

5.8 mediumEPSS 0.5%

Medium (5.8) in surrealdb surrealdb. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in SurrealDB 2.1.8, 2.2.6, 2.3.6.

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.

Severity

CVSS 4.0

5.8 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 39% of CVEs (scores of 2026-10-31)
CWE
CWE-863
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m3c3-78fh-w3w7crates.ioSurrealDB>=2.1.0 <2.1.82.1.8
GHSA-m3c3-78fh-w3w7crates.ioSurrealDB>=2.2.0 <2.2.62.2.6
GHSA-m3c3-78fh-w3w7crates.ioSurrealDB>=3.0.0-alpha.1 <3.0.0-alpha.73.0.0-alpha.7
GHSA-m3c3-78fh-w3w7crates.ioSurrealDB>=2.3.0 <2.3.62.3.6

References

Check your stackJSON