{"id":"CVE-2025-71390","published":"2026-07-18T13:10:10Z","modified":"2026-07-28T01:48:14Z","title":"SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution","vendor":"surrealdb","product":"surrealdb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00451,"percentile":0.31113,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m3c3-78fh-w3w7","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-deny-net-bypass-via-dns-resolution","tags":["third-party-advisory"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":6.22},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"surrealdb","affectedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["<= 2.1.7",">= 2.2.0, < 2.2.6",">= 2.3.0, < 2.3.6",">= 3.0.0-alpha.1, <= 3.0.0-alpha.7"]}],"fixedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["2.2.6","2.3.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-20T13:38:50.029459Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"SurrealDB","vulnerableRanges":[">=2.1.0, <2.1.8",">=2.2.0, <2.2.6",">=3.0.0-alpha.1, <3.0.0-alpha.7",">=2.3.0, <2.3.6"],"patched":["2.1.8","2.2.6","3.0.0-alpha.7","2.3.6"],"from":["GHSA-m3c3-78fh-w3w7"],"provenance":"source"}],"summary":{"text":"SurrealDB versions before 2.2.6, 2.3.6, and 2.1.8 (and 3.0.0-alpha.7 and earlier) fail to validate DNS-resolved hostnames against the --deny-net restrictions in the http::* functions, allowing the bypass of network access controls. An authenticated user can call an http::* function with a hostname that resolves to a denied IP address, causing the server to make the request and return the response, with no user interaction or special configuration required beyond the authenticated access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:30Z"},"euvd":{"id":"EUVD-2025-210490","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-surrealdb-cve-2024-58368","parents":[{"from":"CVE-2024-58368","to":"CVE-2025-71390","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/dbs/mod.rs"],"commits":["https://github.com/surrealdb/surrealdb/commit/a70ddb2e2aed2453730b81781e426486247609cb","https://github.com/surrealdb/surrealdb/commit/4b317d850c7dabaee228144423741097232f7955","https://github.com/surrealdb/surrealdb/commit/7c574dfa90211923e2ff1b12510c8479f8805b3d"],"basis":"rarely changed file"}]}]}}