Duplicate Advisory: SurrealDB has bypass of field-level SELECT permissions through JSON Patch `copy` and `move` with empty `from`
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.
CVSS v3.1
Score 4.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SurrealDB before version 3.1.0 contains a field-level permission bypass vulnerability (CWE-863) in its JSON Patch implementation. Authenticated users can exploit the UPDATE PATCH method with 'copy' or 'move' operations that have an empty 'from' pointer to duplicate all fields of a record, including those normally restricted by field-level SELECT permissions, into fields they control. This effectively allows unauthorized reading of protected data fields. The advisory is a duplicate of GHSA-fpxg-5xmv-922m and has been withdrawn to preserve external references.
Potential Impact
The vulnerability allows an authenticated user to read data from fields that should be protected by field-level SELECT permissions by duplicating those fields into accessible locations. This results in unauthorized disclosure of sensitive information. There is no impact on data integrity or availability reported. The CVSS score is 4.3 (medium severity), indicating limited impact confined to confidentiality with low attack complexity and requiring privileges.
Mitigation Recommendations
A fixed version is SurrealDB 3.1.0 or later. Users should upgrade to version 3.1.0 or above to remediate this vulnerability. Since no patch links are provided in this advisory, users should consult the vendor advisory GHSA-fpxg-5xmv-922m for official remediation guidance. No additional mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8pr5-wpg9-2h74
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a9c2648acd9273b49fc9dd1
Added to database: 09/05/2026, 14:25:12 UTC
Last enriched: 09/07/2026, 14:09:20 UTC
Last updated: 10/04/2026, 06:45:23 UTC
Views: 21
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.