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

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Tue, 28 Jul 2026 01: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'}


Mon, 20 Jul 2026 12:15:00 +0000

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'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:05:38.777Z

Reserved: 2026-07-18T12:26:19.866Z

Link: CVE-2026-63743

cve-icon Vulnrichment

Updated: 2026-07-20T13:51:03.648Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T19:45:06Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)