Skip to main content
EPSS 0.3%top 76%

SurrealDB: Authenticated callers can read fields hidden by field-level SELECT permissions via error messages (CVE-2026-63748)

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

Description

SurrealDB versions prior to 3.1.0 contain a vulnerability where authenticated users with UPDATE permissions can read field values hidden by field-level SELECT permissions through error messages. This occurs because arithmetic operators and the extend function embed raw operand values in error messages, revealing sensitive data. A patch is available in version 3.1.0 and later that replaces raw operand values in errors with their type names, preventing information disclosure.

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:09:15 UTC

Technical Analysis

In SurrealDB versions before 3.1.0, a user with UPDATE access can exploit error messages generated by arithmetic operations or the extend function to read field values that should be hidden by field-level SELECT permissions. This happens because UPDATE permission checks evaluate against the full document, and error messages embed the raw operand values, leaking sensitive information. The vulnerability is tracked as CVE-2026-63748 and has a CVSS 3.1 base score of 4.3 (medium severity). The issue is fixed in SurrealDB 3.1.0 by replacing raw operand values in error messages with their type names, thus preventing unintended data exposure.

Potential Impact

An authenticated user with UPDATE permission can infer the value of hidden fields by triggering errors that include the raw operand values in error messages. This allows reading one hidden field value per operation on any record they can update, potentially exposing sensitive information that should be protected by field-level SELECT permissions. The vulnerability does not affect confidentiality beyond this information disclosure and does not impact integrity or availability.

Mitigation Recommendations

A patch is available in SurrealDB version 3.1.0 and later that addresses this vulnerability by sanitizing error messages. Users should upgrade to version 3.1.0 or later to remediate this issue. As a workaround, if upgrading is not immediately possible, avoid granting UPDATE permissions on records where field-level SELECT permissions are intended to hide values from the same user.

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-6g9v-7gq3-p2c6
Osv Schema Version
1.4.0
Aliases
["CVE-2026-63748"]
Ecosystems
["crates.io"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a9c2648acd9273b49fc9dd5

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

Last enriched: 09/07/2026, 14:09:15 UTC

Last updated: 10/19/2026, 06:48:18 UTC

Views: 28

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