{"id":"CVE-2026-134298","aliases":["GHSA-m887-2246-mgw3"],"title":"SurrealDB 3.0.0 before 4.0.0 VIEWER Role Authorization Bypass via Implicit Table Creation","originalDescription":"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.","severity":{"cvss":5.3,"vector":"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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00457,"percentile":0.31638},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"surrealdb","range":">=3.0.0, <4.0.0","fixed":"4.0.0"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m887-2246-mgw3","type":"vendor-advisory"},{"url":"https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-4.0.0-viewer-role-authorization-bypass-via-implicit-table-creation","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134298.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134298","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T22:38:29.008Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134298","license":"NVD terms of use","firstSeenAt":"2026-11-21T17:43:05.278Z"},{"name":"osv","at":"2026-11-25T23:12:04.305Z","url":"https://osv.dev/vulnerability/CVE-2026-134298","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T18:16:32.297Z"},{"name":"cvelistV5","at":"2026-11-29T12:26:06.731Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134298","license":"CVE Terms of Use","firstSeenAt":"2026-11-21T17:07:33.342Z"}],"firstSeenAt":"2026-11-21T17:07:33.342Z","publishedAt":"2026-11-21T16:35:09.218Z","modifiedAt":"2026-11-25T22:17:17.170Z"}