# CVE-2026-63733: SurrealDB before 3.2.0 Permissions Bypass via PERMISSIONS Clause

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-07-20T12:04:30.055Z
- Modified: 2026-09-04T21:10:34.732Z
- Also known as: GHSA-66r2-5gwj-gxm2
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: before 3.2.0 (not affected: 3.2.0)
- surrealdb-core (crates.io): before 3.2.0

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-66r2-5gwj-gxm2> (mitigation, vendor-advisory, 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)

## Sources

- CVE List: [CVE-2026-63733](https://www.cve.org/CVERecord?id=CVE-2026-63733), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-66r2-5gwj-gxm2](https://github.com/advisories/GHSA-66r2-5gwj-gxm2), CC-BY-4.0, modified 2026-09-04
- NVD: [CVE-2026-63733](https://nvd.nist.gov/vuln/detail/CVE-2026-63733), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-63733 · Whole record: https://cve.day/CVE-2026-63733.json · Rebuilt by cve.day 2026-11-25T22:59:29.198Z
