SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect (CVE-2026-63743)
Description
SurrealDB versions prior to 3.1.0 contain a vulnerability where port-specific --deny-net rules can be bypassed via HTTP redirects. An authenticated user with access to http::* functions can cause SurrealDB to follow redirects to denied host:port combinations because the redirect handling drops the port information when matching deny rules. This allows circumvention of port-scoped network restrictions, potentially exposing internal services or sensitive endpoints. The issue is fixed in version 3.1.0 and later.
CVSS v3.1
Score 6.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SurrealDB's network access control uses --allow-net and --deny-net capabilities to restrict external HTTP requests. When a port-specific deny rule is set (e.g., --deny-net <host>:<port>), an authenticated user can bypass it by triggering an HTTP redirect from an allowed host to the denied host:port. The root cause is that the redirect policy constructs the network target without the port, causing the capability matcher to fail to apply the port-specific deny rule. This leads to silent bypass of port-scoped deny rules on redirect targets. The vulnerability affects versions prior to 3.1.0. The fix involves including the port in the NetTarget for redirect URLs, ensuring deny rules apply correctly to redirects. Additional mitigations include using host-only deny rules or disabling http::* functions for untrusted users.
Potential Impact
This vulnerability allows authenticated users with http::* function permissions to circumvent port-specific network deny rules by leveraging HTTP redirects. This can lead to unauthorized access to internal or otherwise restricted services running on specific ports, such as local Redis instances or cloud metadata services. The impact depends on the deployment and the specific deny rules configured. Host-only deny rules are not affected. There is no indication of known exploits in the wild.
Mitigation Recommendations
A patch is available and included starting with SurrealDB version 3.1.0, which fixes the redirect handling to respect port-specific deny rules. Operators should upgrade to version 3.1.0 or later. Workarounds include replacing port-specific deny rules with host-only deny rules where feasible, disabling http::* functions for untrusted principals, or terminating outbound HTTP requests at a reverse proxy that enforces port-specific access controls. These mitigations reduce the risk until the patch is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-97vg-427p-8hx5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63743"]
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a9c2647acd9273b49fc9dbf
Added to database: 09/05/2026, 14:25:11 UTC
Last enriched: 09/07/2026, 14:23:11 UTC
Last updated: 10/21/2026, 13:20:23 UTC
Views: 26
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.