CVE-2026-134298: 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 n…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
https://nvd.nist.gov/vuln/detail/CVE-2026-134298 ↗
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. References: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m887-2246-mgw3 https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-4.0.0-viewer-role-authorization-bypass-via-implicit-table-creation