CVE-2026-63733
MEDIUM 5.3CVSS 4.0SurrealDB: Writes in a PERMISSIONS clause bypass table permissions
SurrealDB versions before 3.2.0 contain a permissions bypass vulnerability where data-modifying statements within PERMISSIONS clauses execute with enforcement disabled. Attackers with permission to perform a guarded operation can write to tables they lack permission for by embedding CREATE, UPDATE, DELETE, or UPSERT statements in the PERMISSIONS clause, causing unintended writes and data corruption.
- Published
- 20 Jul 2026
- Last modified
- 4 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-66r2-5gwj-gxm2
- Sources
- NVDJSONOSV GHSA-66r2-5gwj-gxm2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
< 3.2.0 | 3.2.0 |
| OSV | crates.io | surrealdb-core | < 3.2.0 | 3.2.0 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-66r2-5gwj-gxm2 · Vendor Advisory, Mitigation, WEB
- https://www.vulncheck.com/advisories/surrealdb-before-permissions-bypass-via-permissions-clause · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63733 · ADVISORY
- https://github.com/surrealdb/surrealdb/commit/1e4c3d743e1591f14f340cb627e56d98b6bd7fd7 · WEB
- https://github.com/surrealdb/surrealdb/commit/afea699dfb3c8f274ab36861f8a95f5e98d82f1b · WEB
- https://github.com/surrealdb/surrealdb · PACKAGE
- https://github.com/surrealdb/surrealdb/releases/tag/v3.2.0 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 20 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Sep 2026)