CVE-2025-71390

SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution

State
Published
Severity
5.8 Medium
Published
Jul 18, 2026
Updated
Jul 28, 2026
Reserved
Jul 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.8 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:H/SI:H/SA:HVulnCheck

Weaknesses

Affected Products

ProductVersions
surrealdbsurrealdb
  • 2.1.7 and earlierAffected
  • 2.2.0 to before 2.2.6Affected
  • 2.2.6Not affected
  • 2.3.0 to before 2.3.6Affected
  • 2.3.6Not affected
  • 3.0.0-alpha.1 through 3.0.0-alpha.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.