Skip to main content

Duplicate Advisory: SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect

0
Medium
Published: 07/20/2026 (07/20/2026, 12:33:09 UTC)
Source: GCVE Database
Product: surrealdb

Description

SurrealDB versions before 3.1.0 have a vulnerability in HTTP redirect handling that allows authenticated users to bypass port-specific --deny-net rules. This occurs because the port information is dropped during redirect policy evaluation, enabling redirects from allowed hostnames to denied host:port combinations to be followed.

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

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:04 UTC

Technical Analysis

SurrealDB prior to version 3.1.0 contains a capability bypass vulnerability related to HTTP redirect handling. Authenticated users can circumvent port-scoped --deny-net rules by chaining an HTTP redirect from an allowed hostname to a host and port combination that should be denied. The vulnerability arises because the port information is discarded during the evaluation of redirect policies, allowing the redirect to proceed despite the intended restrictions.

Potential Impact

Authenticated users can bypass network access restrictions that rely on port-specific deny rules, potentially allowing access to otherwise restricted network resources. The impact is limited to confidentiality and integrity with no availability impact noted. The CVSS score is 6.4 (medium severity), reflecting a moderate risk.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since this advisory is a duplicate and no patch links are provided, users should monitor the official SurrealDB advisories for updates. Until a fix is available, consider restricting authenticated user capabilities or network access controls outside of SurrealDB to mitigate risk.

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-vq7c-3hc9-m5hr
Osv Schema Version
1.4.0
Ecosystems
["crates.io"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a9c2647acd9273b49fc9dc1

Added to database: 09/05/2026, 14:25:11 UTC

Last enriched: 09/07/2026, 14:23:04 UTC

Last updated: 10/01/2026, 23:09:40 UTC

Views: 21

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