SurrealDB: Field-level SELECT permissions bypassed via graph and reference traversals (CVE-2026-63738)
Description
SurrealDB versions 3.1.0 through 3.1.4 contain a vulnerability where field-level SELECT permissions can be bypassed via graph-edge or back-reference traversals. Users with table-level SELECT permission can access field values hidden by field-level restrictions when records are accessed through these traversal methods. This issue does not allow unauthorized access to records outside the user's table-level permissions and does not affect root or record-owner sessions. The vulnerability is fixed in version 3.1.5 and later.
CVSS v3.1
Score 4.3medium
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
In SurrealDB versions >=3.1.0 and <3.1.5, a flaw in the shared helper function 'resolve_record_batch' used by graph-edge and reference traversals caused field-level SELECT permissions to be bypassed. While direct SELECT queries enforce field-level filtering, traversals materialize full records without applying field-level filtering, exposing hidden field values to users with table-level SELECT permission. The issue is limited to confidentiality breaches of fields within accessible records and does not grant unauthorized cross-table or cross-namespace access. The fix in 3.1.5 ensures field-level SELECT permissions and computed fields are applied consistently during traversal record materialization.
Potential Impact
An attacker or user with legitimate table-level SELECT permission can read confidential field values that should be hidden by field-level SELECT permissions by using graph-edge or back-reference traversals. This leads to partial confidentiality loss within records the user is authorized to read. There is no impact on data integrity or availability, no unauthorized access to other tables or namespaces, and root or record-owner sessions are unaffected.
Mitigation Recommendations
A patch is available and included starting from SurrealDB version 3.1.5, which properly enforces field-level SELECT permissions during graph and reference traversals. Users should upgrade to version 3.1.5 or later to remediate this issue. As a workaround, the legacy executor can be forced using the '--planner-strategy compute-only' option. Additionally, avoid relying solely on field-level SELECT permissions to hide sensitive data on tables accessible via graph or reference traversals; instead, restrict access at the table level or use namespace/database isolation as a primary boundary.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hv6h-hc26-q48p
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63738"]
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a9c2648acd9273b49fc9e67
Added to database: 09/05/2026, 14:25:12 UTC
Last enriched: 09/07/2026, 14:09:04 UTC
Last updated: 10/19/2026, 06:48:18 UTC
Views: 20
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.