Skip to main content
EPSS 0.2%top 85%

SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect (CVE-2026-63743)

0
Medium
Published: 07/01/2026 (07/01/2026, 20:20:40 UTC)
Source: GCVE Database
Product: surrealdb

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

crates.ioghsa
surrealdb
Affected versions
<3.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 14:23:11 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses