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.
Published: 2026-07-18
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SurrealDB before 2.3.6 does not check that DNS‑resolved hostnames of URLs passed to its http::* functions comply with the deny‑net restrictions defined by the administrator. An authenticated user can call http::<fn>(<url>) with a hostname that resolves to an IP address in the deny‑net list. The server then forwards the request and returns the response, effectively bypassing the intended network access control. This flaw allows an attacker to reach internal services that should be hidden, potentially exfiltrating or modifying sensitive data, as described by CWE‑863.

Affected Systems

The vulnerability affects the SurrealDB database engine. Versions prior to 2.3.6, specifically 2.2.6, 2.1.8, the 3.0.0‑alpha.7 release and earlier, are impacted. Any deployment using deny‑net restrictions on HTTP routes is at risk.

Risk and Exploitability

The CVSS base score is 5.8, reflecting a medium severity with the impact confined to the scope of an authenticated user. The EPSS score is indicated as < 1%, suggesting the probability of exploitation in the near term is very low. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the ability to invoke http::* functions, which an authenticated user typically has; the attack bypasses denial restrictions by using a hostname that the resolver maps to a prohibited IP. Because the flaw is not tied to remote code execution, the risk is limited to unauthorized access to internal endpoints and potential data compromise.

Generated by OpenCVE AI on July 30, 2026 at 23:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 2.3.6 or later to apply the vendor's fix.
  • Ensure that the deny-net configuration is applied before hostname resolution, requiring the server to reject any requests whose DNS resolution falls within the denied IP space.
  • Add server‑side validation code to check the resolved IP address of an input URL against the deny-net list before forwarding any request.

Generated by OpenCVE AI on July 30, 2026 at 23:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb

Mon, 20 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 18 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
Weaknesses CWE-863
References
Metrics cvssV4_0

{'score': 5.8, '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'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:48:14.882Z

Reserved: 2026-07-16T12:14:41.770Z

Link: CVE-2025-71390

cve-icon Vulnrichment

Updated: 2026-07-20T13:38:53.239Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T23:15:06Z

Weaknesses