CVE-2025-71390
MEDIUM 5.8CVSS 4.0SurrealDB allows bypass of deny-net flags via DNS resolution
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.
- Published
- 18 Jul 2026
- Last modified
- 29 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-863CWE-923
- Also known as
- GHSA-m3c3-78fh-w3w7
- Sources
- NVDJSONOSV GHSA-m3c3-78fh-w3w7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
< 2.1.8 | 2.1.8 |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.2.6 | 2.2.6 |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
>= 2.3.0, < 2.3.6 | 2.3.6 |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha1:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha2:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha3:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha4:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha5:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha6:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha7:*:*:*:*:*:* |
= 3.0.0 | |
| OSV | crates.io | SurrealDB | >= 2.1.0, < 2.1.8 | 2.1.8 |
| OSV | crates.io | SurrealDB | >= 2.2.0, < 2.2.6 | 2.2.6 |
| OSV | crates.io | SurrealDB | >= 3.0.0-alpha.1, < 3.0.0-alpha.7 | 3.0.0-alpha.7 |
| OSV | crates.io | SurrealDB | >= 2.3.0, < 2.3.6 | 2.3.6 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m3c3-78fh-w3w7 · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/surrealdb-before-deny-net-bypass-via-dns-resolution · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-71390 · ADVISORY
- https://github.com/surrealdb/surrealdb/pull/6101 · WEB
- https://github.com/surrealdb/surrealdb/pull/6119 · WEB
- https://github.com/surrealdb/surrealdb/pull/6120 · WEB
- https://github.com/surrealdb/surrealdb/pull/6121 · WEB
- https://github.com/surrealdb/surrealdb/commit/4b317d850c7dabaee228144423741097232f7955 · WEB
- https://github.com/surrealdb/surrealdb/commit/7c574dfa90211923e2ff1b12510c8479f8805b3d · WEB
- https://github.com/surrealdb/surrealdb/commit/b80d7d08b043c0e4bc0b7ff8ddb9be0907c0bf59 · WEB
- https://github.com/surrealdb/surrealdb/commit/d5dc46f1c255ed450b3af025a0bdc165b6ce54a3 · WEB
- https://github.com/surrealdb/surrealdb · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Sep 2026)