SurrealDB: Authenticated callers can read fields hidden by field-level SELECT permissions via error messages (CVE-2026-63748)
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
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 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.
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 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.