Skip to main content
VulnerabilityPublished Updated

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

Affects surrealdbSource GCVE Database

0

CVSS 4.3 Medium · fixed in 3.1.0 : update surrealdb when convenient.

Data as of 7 Sep 2026, 14:09 UTC

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

What to do

Affected software

ProductAffectedFixed in
crates.iosurrealdbAffected–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 fixed version is SurrealDB 3.1.0 or later. Users should upgrade to version 3.1.0 or above to remediate this vulnerability. No additional mitigations are indicated.

Description

SurrealDB versions prior to 3.1.0 have a vulnerability that allows authenticated users to bypass field-level SELECT permissions via JSON Patch operations. Specifically, using UPDATE PATCH with an empty 'from' pointer in 'copy' or 'move' operations enables duplication of all record fields, including those protected by field-level permissions, into attacker-controlled destination fields. This vulnerability has been withdrawn as a duplicate advisory but remains relevant for versions before 3.1.0.

References

Community reviews

Loading reviews…