Skip to content
surrealdbGHSA-6g9v-7gq3-p2c6

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

Medium4.3CVE-2026-63748 · Published Jul 1, 2026 · updated Sep 4, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
surrealdb
crates.io
< 3.1.03.1.0
Details and references

A record user with UPDATE access could read field values that field-level SELECT permissions hid from them. Arithmetic operators and `extend` embedded the raw operand into their error messages, and UPDATE permission checks evaluate against the unreduced document , so triggering such an error against a hidden field returned its value in the resulting error. ### Impact A record user issues an UPDATE that performs an incompatible operation against a hidden field , e.g. `UPDATE person:me SET probe = email + 1` when `email` is a string , and reads the value from the returned error (`Tried to compute "alice@example.com" + 1 …`). One field per operation, but the attacker can repeat against any field on any record they can UPDATE. ### Patches A patch has been introduced that replaces the raw operand in every `try_*` operator and in `extend` with the operand's type name (`"string"`, `"int"`, `"array"`, etc.). - Versions 3.1.0 and later are not affected by this issue. ### Workarounds Affected users who are unable to update should not grant UPDATE permission on records whose field-level SELECT permissions are expected to hide values from the same caller.

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-209
Also known as
CVE-2026-63748

More surrealdb advisories

All
DateAdvisory
Jul 1SurrealDB: HTTP /rpc `sessions` method leaks attached session UUIDs, enabling full session hijack by anonymous callers
GHSA-5qfp-32cf-69jhHigh8.8fixed in 3.1.0
Jul 1SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
GHSA-4vgr-h27g-cf9pHigh8.1fixed in 3.1.0
Jul 1SurrealDB has Denial of Service in JSON parser due to nested objects
CVE-2026-63760High7.5fixed in 3.1.0
Jul 1SurrealDB has unauthenticated remote DoS via malformed RPC `use` call
GHSA-wjjj-24cx-f28gHigh7.5fixed in 3.1.0
Jul 1SurrealDB vulnerable to Denial of Service due to nested types annotations
GHSA-q8qp-67f9-wr3fMedium6.5fixed in 3.1.0
Jul 1SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level
CVE-2026-63755Medium6.5fixed in 3.1.0

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.