CVE-2026-121421

SurrealDB 3.1.0 before 3.3.0 SSRF via Port-Specific --deny-net Host Aliasing Bypass

Published Nov 3, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
SurrealDB 3.1.0 before 3.3.0 contains a server-side request forgery vulnerability in network-capability matching because port-specific --deny-net rules (HOST:PORT or IP:PORT) match only a literal host string, while the resolved-IP check discards the port. Authenticated users can call http::* functions with a hostname resolving to a denied IP, or the IP of a denied hostname, to reach blocked internal services.

Analysis

AI-generated

Technical impact

SurrealDB contains a server‑side request forgery flaw in the way it processes port‑specific --deny‑net rules. The rules match only the literal host portion of a request, while the IP resolution check ignores the port, enabling a request that resolves to a denied host to bypass the filter. The flaw is classified as CWE‑918. An attacker with authentication to SurrealDB can invoke HTTP functions that resolve a hostname or IP address pointing to a blocked address, causing the server to forward the request to that internal target and exposing internal services.

Affected Systems

Affected editions include SurrealDB 3.1.0 up through (but not including) 3.3.0. Versions 3.1.0, 3.1.1, 3.2.x and any subsequent releases before 3.3.0 are vulnerable. The vendor is SurrealDB; the product is SurrealDB.

Risk and Exploitability

The CVSS base score of 5.3 indicates moderate impact. No EPSS score is published, so the probability of exploitation is not quantified, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Attackers must have authenticated access and be able to call the http::* functions. Successful exploitation would give the attacker outbound request capability to internal IP ranges that SurrealDB is supposed to block, potentially facilitating lateral movement.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.3.0 or later, which contains a fix for the host‑aliasing bypass.
  • Restrict the use of http::* functions to privileged accounts or disable them for untrusted users.
  • Configure network segmentation or firewall rules to block outbound traffic from the SurrealDB server to internal IP ranges that should remain inaccessible.

Generated by OpenCVE AI on November 3, 2026 at 16:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description SurrealDB 3.1.0 before 3.3.0 contains a server-side request forgery vulnerability in network-capability matching because port-specific --deny-net rules (HOST:PORT or IP:PORT) match only a literal host string, while the resolved-IP check discards the port. Authenticated users can call http::* functions with a hostname resolving to a denied IP, or the IP of a denied hostname, to reach blocked internal services.
Title SurrealDB 3.1.0 before 3.3.0 SSRF via Port-Specific --deny-net Host Aliasing Bypass
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-918
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 3, 2026, 5:04 PM
Reserved
Nov 3, 2026, 12:29 PM
Status
Deferred
Published
Nov 3, 2026, 3:17 PM
Modified
Nov 3, 2026, 5:18 PM