CVE-2026-63733: SurrealDB · Writes in a PERMISSIONS clause bypass table permissions
Affects surrealdb-coreSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium : upgrade to 3.2.0 when convenient.
Data as of 4 Dec 2026, 18:37 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.2.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Sep 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-core to 3.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iosurrealdb-core | 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 fix is available in SurrealDB version 3.2.0 and later, which enforces that PERMISSIONS clauses are read-only and blocks any writes during permission evaluation. Users should upgrade to version 3.2.0 or later to remediate this vulnerability. For those unable to patch immediately, review all PERMISSIONS clauses and remove any that contain data-modifying statements such as CREATE, UPDATE, DELETE, RELATE, INSERT, or UPSERT. Additionally, restrict who can define schema and vet imported data to prevent introduction of malicious permission clauses.
Description
SurrealDB versions prior to 3.2.0 contain a vulnerability where a PERMISSIONS clause that includes data-modifying statements can bypass table write permissions. This allows users with permission to perform an operation guarded by such a clause to write to tables they normally cannot modify. The issue is limited to permission clauses that contain write operations; read-only permission clauses are unaffected. The vulnerability does not allow privilege escalation beyond the caller's namespace or database, nor does it allow reading hidden data. Versions 3.2.0 and later have patched this issue by enforcing that permission clauses must be read-only and blocking writes during permission evaluation.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-66r2-5gwj-gxm2 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-63733 (opens in a new tab)
- github.com/surrealdb/surrealdb/commit/1e4c3d743e1591f14f340cb627e56d98b6bd7fd7 (opens in a new tab)
- github.com/surrealdb/surrealdb/commit/afea699dfb3c8f274ab36861f8a95f5e98d82f1b (opens in a new tab)
- github.com/surrealdb/surrealdb (opens in a new tab)
- github.com/surrealdb/surrealdb/releases/tag/v3.2.0 (opens in a new tab)
- vulncheck.com/advisories/surrealdb-before-permissions-bypass-via-permissions-clause (opens in a new tab)