CVE-2025-71390
5.8
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| surrealdb | surrealdb | 0 < 2.3.6, 2.2.6 | affected |
| surrealdb | surrealdb | 2.3.6, 2.2.6 | unaffected |
Weaknesses
- CWE-863: Incorrect Authorization
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m3c3-78fh-w3w7
- https://www.vulncheck.com/advisories/surrealdb-before-deny-net-bypass-via-dns-resolution
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.