Skip to main content

Duplicate Advisory: SurrealDB: Field-level SELECT permissions bypassed via graph and reference traversals

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

Description

SurrealDB versions 3.1.0 before 3.1.5 have a vulnerability where field-level SELECT permissions are bypassed when accessing records via graph-edge or back-reference traversals. This allows attackers with table-level SELECT access to read fields that should be restricted by field-level permissions. The issue arises because permissions are not enforced correctly during these traversal queries.

CVSS v3.1

Score 4.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/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:08:57 UTC

Technical Analysis

SurrealDB versions 3.1.0 up to but not including 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. An attacker who has table-level SELECT access can exploit this flaw to read field values that are normally hidden by field-level permissions by materializing records through graph traversals rather than direct table scans. This vulnerability is classified under CWE-863 (Incorrect Authorization).

Potential Impact

The vulnerability allows unauthorized disclosure of data fields that should be protected by field-level permissions. Attackers with table-level SELECT access can bypass these restrictions and read sensitive information. There is no impact on data integrity or availability reported. The CVSS score is 4.3 (medium severity), indicating limited confidentiality impact without integrity or availability effects.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch links are provided and the advisory is a duplicate, users should monitor the original advisory GHSA-hv6h-hc26-q48p for updates and apply any official fixes once available. Until then, restrict table-level SELECT permissions to trusted users only to reduce 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-9c3h-q3pp-fw5x
Osv Schema Version
1.4.0
Ecosystems
["crates.io"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a9c2648acd9273b49fc9e69

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

Last enriched: 09/07/2026, 14:08:57 UTC

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

Views: 24

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