CVE-2026-63743

SurrealDB before 3.1.0 Port-Specific Deny Rule Bypass via HTTP Redirect

Published Jul 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
SurrealDB before 3.1.0 contains a capability bypass vulnerability in HTTP redirect handling that allows authenticated users to circumvent port-scoped --deny-net rules. Attackers can chain an HTTP redirect from an allowed hostname to a denied host:port combination, and the redirect is followed because the port information is dropped during redirect policy evaluation.

Analysis

AI-generated

Technical impact

SurrealDB before version 3.1.0 contains a flaw in its HTTP redirect handling that allows an authenticated user to bypass port‑scoped "--deny-net" rules. The server discards the destination port when evaluating a redirect, so a chain from an allowed hostname to a denied host:port pair is accepted and followed. This gives the attacker access to services that should have been blocked by the deny rule, effectively granting unauthorized network access to restricted endpoints.

Affected Systems

The vulnerability impacts all installations of SurrealDB released prior to version 3.1.0. Any deployment that has not applied the 3.1.0 patch and that allows authenticated users to receive HTTP redirects is potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity. The EPSS score is below 1% and the vulnerability is not listed in the CISA KEV catalog, implying that widespread exploitation is unlikely but not impossible. An attacker must have valid credentials to exploit the flaw, then craft a redirect request from an allowed host to a denied host:port pair. Because the redirect is automatically followed by the server, the deny rule is effectively bypassed. The risk is moderate, but a compromised internal account could use this mechanism to reach otherwise protected endpoints.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.1.0 or later where HTTP redirect handling correctly enforces port scoping.
  • If an upgrade is not possible, disable HTTP redirects or implement strict validation of redirect targets to ensure the port is checked before the redirect is followed.
  • Deploy network‑level controls such as firewall or proxy rules to block traffic to the denied host:port combinations from authenticated users, providing a secondary defense in case the redirect bypass persists.

Generated by OpenCVE AI on July 30, 2026 at 19:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-97vg-427p-8hx5 SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect
History
Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description SurrealDB before 3.1.0 contains a capability bypass vulnerability in HTTP redirect handling that allows authenticated users to circumvent port-scoped --deny-net rules. Attackers can chain an HTTP redirect from an allowed hostname to a denied host:port combination, and the redirect is followed because the port information is dropped during redirect policy evaluation.
Title SurrealDB before 3.1.0 Port-Specific Deny Rule Bypass via HTTP Redirect
Weaknesses CWE-918
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:05 AM
Reserved
Jul 18, 2026, 12:26 PM
Status
Analyzed
Published
Jul 20, 2026, 12:19 PM
Modified
Jul 22, 2026, 3:46 PM