NetSight
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

EcosystemPackageAffectedFixed in
rustSurrealDB>= 2.1.0, <= 2.1.72.1.8

Affected products

VendorProductAffected versions
SurrealdbSurrealdb
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