CVE-2026-63751: SurrealDB has bypass of field-level SELECT permissions through JSON Patch `copy` and `move` with empty `from`
Affects surrealdbSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium : upgrade to 3.1.0 when convenient.
Data as of 4 Dec 2026, 18:37 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade surrealdb to 3.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iosurrealdb | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in SurrealDB version 3.1.0 and later that rejects empty `from` pointers in `copy` and `move` JSON Patch operations, effectively fixing the vulnerability. Users unable to upgrade should restrict `UPDATE … PATCH` operations to callers who already have SELECT permission on all fields of the target record, or switch to using explicit `SET` or `MERGE` clauses instead of JSON Patch operations to avoid the attack surface.
Description
SurrealDB versions prior to 3.1.0 contain a vulnerability in the JSON Patch `copy` and `move` operations used in `UPDATE … PATCH` statements. Specifically, using an empty `from` pointer causes the entire record to be copied, bypassing field-level SELECT permissions and exposing protected field values under new field names. This vulnerability allows an authenticated user with update patch permissions to read any field in the targeted record regardless of select restrictions. The issue is limited to confidentiality impact and does not expose data from other records. Versions 3.1.0 and later include a patch that rejects empty `from` pointers, mitigating this issue.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-fpxg-5xmv-922m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-63751 (opens in a new tab)
- github.com/surrealdb/surrealdb/commit/56a7a1540d9228f82fd6284c258344e8dcb690fd (opens in a new tab)
- github.com/surrealdb/surrealdb (opens in a new tab)
- vulncheck.com/advisories/surrealdb-before-field-permission-bypass-via-json-patch (opens in a new tab)