Skip to main content
VulnerabilityPublished Updated

CVE-2026-63751: SurrealDB has bypass of field-level SELECT permissions through JSON Patch `copy` and `move` with empty `from`

Affects surrealdbSource GCVE Database

0
Compare

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

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
crates.iosurrealdbAffected
  • <3.1.0
Fixed in
  • 3.1.0

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

Community reviews

Loading reviews…