# CVE-2026-134298: SurrealDB 3.0.0 before 4.0.0 VIEWER Role Authorization Bypass via Implicit Table Creation

- 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.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-21T16:35:09.218Z
- Modified: 2026-11-25T22:17:17.170Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

SurrealDB 3.0.0 before 4.0.0 contains an authorization bypass that allows users with the read-only VIEWER role to modify database schema, because CREATE on a nonexistent table implicitly defines it without the DEFINE TABLE permission check applied to explicit definitions. Authenticated VIEWER users can issue CREATE statements in non-STRICT databases to add arbitrary empty SCHEMALESS tables, cluttering schemas or colliding with application table names.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 3.0.0 before 4.0.0 (not affected: 4.0.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`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m887-2246-mgw3> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-4.0.0-viewer-role-authorization-bypass-via-implicit-table-creation> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134298](https://www.cve.org/CVERecord?id=CVE-2026-134298), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-134298](https://nvd.nist.gov/vuln/detail/CVE-2026-134298), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-134298 · Whole record: https://cve.day/CVE-2026-134298.json · Rebuilt by cve.day 2026-11-25T22:32:14.869Z
