Skip to main content

Duplicate Advisory: SurrealDB: Authenticated callers can read fields hidden by field-level SELECT permissions via error messages

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 an information disclosure vulnerability where authenticated users with UPDATE permissions can read field values that should be hidden by field-level SELECT permissions. This occurs because error messages leak raw operand values when arithmetic or extend operations are performed on hidden fields. The vulnerability allows bypassing of field-level access controls via error message content.

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

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

Technical Analysis

SurrealDB prior to version 3.1.0 contains an information disclosure vulnerability (CWE-209) that allows authenticated users with UPDATE access to bypass field-level SELECT permissions. By triggering arithmetic or extend operations on fields hidden by SELECT permissions, attackers can cause error messages to reveal raw operand values. This leakage exposes sensitive field data that should remain inaccessible, effectively circumventing intended access controls. The vulnerability has a CVSS 3.1 base score of 4.3, indicating a medium severity impact focused on confidentiality loss without integrity or availability impact.

Potential Impact

Authenticated users with UPDATE privileges can obtain sensitive field data that should be hidden by SELECT permissions through error message leakage. This results in partial confidentiality loss of protected data fields. There is no impact on data integrity or availability. No known exploits in the wild have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict UPDATE permissions to trusted users only and monitor for unusual error message patterns that may indicate exploitation attempts.

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-p7hp-79jj-q923
Osv Schema Version
1.4.0
Ecosystems
["crates.io"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a9c2648acd9273b49fc9dd7

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

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

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

Views: 22

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